You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
HTMX is a fantastic idea, and the essays page is a class apart.
I highly recommend reading all the articles.
However, I believe that the entire page should be shared via link, making it possible to reconstruct the state through your link.
This means that every page transformation using the server must add parameters to the URL query.
And in the case of transformations in the frontend, you must use the URL hash to save the state of the app.
In this case I believe that a hash router that reacts to hash changes is the correct way to add dynamic javascript to the page while being able to share links with the state.
This is why HTMX was never an option for me.
I would like to know your opinion and please correct me if there is a way to use HTMX in this approach or if someone has done something similar.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
HTMX
is a fantastic idea, and the essays page is a class apart.I highly recommend reading all the articles.
However, I believe that the entire page should be shared via
link
, making it possible to reconstruct thestate
through yourlink
.This means that every page transformation using the server must add parameters to the
URL query
.And in the case of transformations in the frontend, you must use the
URL hash
to save thestate
of the app.In this case I believe that a
hash router
that reacts to hash changes is the correct way to add dynamic javascript to the page while being able to sharelinks
with thestate
.This is why
HTMX
was never an option for me.I would like to know your opinion and please correct me if there is a way to use
HTMX
in this approach or if someone has done something similar.Beta Was this translation helpful? Give feedback.
All reactions