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

You don't need an SPA for that, you can still filter the DOM with JS (Vanilla or a Reactive framework) and save the state in cookie or the URL, and have the server handle the state.



> You don't need an SPA for that, you can still filter the DOM with JS (Vanilla or a Reactive framework) and save the state in cookie or the URL, and have the server handle the state.

Doesn't that still reload the entire page when a checkbox is clicked?


Not necessarily, you can update the URL with the History or Location API without a reload. In that case you download the whole list and filter it on the client. The assets (images, documents, icons) can be lazy loaded, so the browser will fetch them only when visible.




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

Search: