2 ms·
Unsure why these kind of questions always pop up around HTMX. I do not think HTMX sets out to solve state problems. HTMX to me is an easy way for me to render H
by infecto 3y ago
Unsure why these kind of questions always pop up around HTMX. I do not think HTMX sets out to solve state problems. HTMX to me is an easy way for me to render HTML partials. If I needed to do something like update state such as your example, I would write javascript function inside of that html partial to update the time based on the posts timestamp...yes I am sure there is some complexity or issue around the clients, time and the posts timestamp I am handwaving that issue for the sake of the example.