3 ms·
> 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 s
by lelanthran 5y ago
> 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?
- yohannparis 5y agoNot 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.