News for hackers. Stuff that matters.
Re:You don't need that CORS request by speg on Monday January 03, 2022 @11:00AM (#29782070)
Check out htmx. I use it for thing like table pagination.

Server side I check for htmx headers, and if so omit headers/footers are just return the body. htmx then handles the html swap and boom, you’ve just turned the page without reloading the whole page.

Simple and straightforward. I also use a plugin to preload the responses on mouseover in some cases for even more snapiness.

There are no comments on this comment yet.