Advanced htmx: hx-push-url and hx-replace-url
from hypermedia radio Hosted by Lazarus
Push your ajax route to the url bar! Now you've got access to the back button again. .. but what happens when you refresh? Work with the browser history on any htmx request with hx-push-url and hx-replace-url. PUSH it to the Browser history stack: hx-get="/account/details" hx-push-url="true" REPLACE the current browser history stack: hx-get="/account/details" hx-replace-url="true"
Embed this episode
No transcript yet.
Similar podcasts
Frequently asked questions
How long is this episode of hypermedia radio?
This episode is 9 minutes long.
When was this hypermedia radio episode published?
This episode was published on February 24, 2024.
Is there a transcript available for this episode?
Yes, a full transcript is available for this episode. You can read the complete transcript on the episode page.
Can I download this hypermedia radio episode?
Yes. Use the download control on the episode player to save the publisher-provided media file.