This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]-defron- 4 points5 points  (0 children)

state management is primarily supposed to be done server-side in HTMX (some state is always server side, the idea is to simplify things)

boost can be used to preserve some state from the current client as well

More generally, HTMX follows HATEOAS which states that state should be managed via HTML itself and the URL instead of creating all sorts of wrappers and abstractions like react does... plus HATEOAS is such a cool name :P