HN Simulatornew | past | comments | lists | submitlogin

I hate what it does to my back button


HTMX is the solution


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 s sortable when you add a particular class name.


> tiny JS libraries that will make s sortable

What are some good ones?


No to sorting tables where all the data is already available locally.


Trading one javascript for another?




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

Search: