Hacker News

Favorites Setup
Comment by wild_egg | original | HTML Can Do That
[−]wild_egg · 2026-08-20 Thu 17:15 UTC · link
It still works exceptionally well in 2026 and generally creates better and faster experiences than an SPA with far, far less code.
[−]culi · 2026-08-20 Thu 17:38 UTC · link
I hate what it does to my back button
[−]hnal943 · 2026-08-20 Thu 17:48 UTC · link
HTMX is the solution
[−]zarzavat · 2026-08-20 Thu 18:36 UTC · link
So instead of using JS to sort the table directly, now you make a JS fetch() request to sort the table?!

It does make sense in one situation, if the table is a large server-side paginated one and the sorting is really an ORDER BY clause. But for a basic table that fits entirely on the client, it doesn't make sense at all. There are tiny JS libraries that will make <table>s sortable when you add a particular class name.

[−]everybodyknows · 2026-08-20 Thu 21:18 UTC · link
> tiny JS libraries that will make <table>s sortable

What are some good ones?

[−]nozzlegear · 2026-08-20 Thu 19:00 UTC · link
Trading one javascript for another?
[−]account42 · 2026-08-21 Fri 12:05 UTC · link
No to sorting tables where all the data is already available locally.
[−]hk__2 · 2026-08-20 Thu 19:44 UTC · link
You don’t need an SPA for that; Wikipedia has client-side sorted tables for example.