Re:Htmx, Raku and Pico CSS
by shortrounddev2 on Tuesday September 10, 2024 @07:56AM
(#41499857)
So then you need some kind of state management on the server?
> So then you need some kind of state management on the server
Yes. You might call this an application, lol. You will require this no matter what, unless you have a fully client-side application. Like photoshop or something.
HTMX solves this, and it's mostly automatic. You get some nice transitions.
> How do you pass state between two pages?
You don't. You submit some data to the server, it generates HTML dynamically, you replace HTML on the frontend or redirect all together, you're done. The state is on the server.