Re:Building a Single-Page App with Htmx
by artificialLimbs on Monday October 07, 2024 @03:41PM
(#41770110)
'preserve this element when my state is one way, but not in other states'
You could send the state back to the server with the request and respond appropriately on the backend. Or check in the db without sending it, if it lives in the db (it probably should?).
You could send the state back to the server with the request and respond appropriately on the backend. Or check in the db without sending it, if it lives in the db (it probably should?).