6 ms·
HTMX is the solution
by hnal943 2mo ago
HTMX is the solution
- zarzavat 2mo agoSo 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 2mo ago> tiny JS libraries that will make <table>s sortable What are some good ones?
- nozzlegear 2mo agoTrading one javascript for another?
- account42 2mo agoNo to sorting tables where all the data is already available locally.