Re:Tell HN: Thank you for not redesigning Hacker News
by manigandham on Sunday September 01, 2019 @06:10PM
(#20855322)
The request is the same. The buttons are <a> tags. Without JS, the link is clicked and does a full page reload. With JS, the click is caught and sent as a AJAX request where the response is ignored.
It's not any lighter, it's just not reloading the page.
It's not any lighter, it's just not reloading the page.