Hacker News new | past | comments | ask | show | jobs | submit login

Reloading the page is way easier then rebuilding the entire comment section, should something be renewed ( eg. a new comment).

It also (partially) removes the requirement for live-pages on an active post here.




This isn't about reloading the page on voting with JS disabled; it's about the XHR call when you have JS enabled. It goes to the same endpoint as a non-JS call, ultimately loading the new page, but completely discards it (as it is an XHR call not an actual pageload).




Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: