News for hackers. Stuff that matters.
Re:Tell HN: Thank you for not redesigning Hacker News by crispyporkbites on Sunday September 01, 2019 @05:05PM (#20854892)
You can do this without javascript, you just create a form that sends an XHR PUT/POST request and returns back a 200 response.

You can't do much with the response without JS but a single upvote doesn't change anything on the page so there's no need for the reload.

Re:Tell HN: Thank you for not redesigning Hacker News by icebraining on Sunday September 01, 2019 @05:20PM (#20854990)
> a single upvote doesn't change anything on the page

Not much, but it does hide the arrows and shows an undo link on the comment.