News for hackers. Stuff that matters.
Re:Htmx, Raku and Pico CSS by consteval on Monday September 09, 2024 @01:33PM (#41491076)
> How do you manage the transition between one view and another on the same page?

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.

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?
Re:Htmx, Raku and Pico CSS by consteval on Tuesday September 10, 2024 @01:20PM (#41503209)
> 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.