Skip to content
Advanced htmx: hx-push-url and hx-replace-url episode artwork

Feb 24, 2024 9 min

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"

Episode details come from the podcast's RSS feed.

Embed this episode

Ready to play

Advanced htmx: hx-push-url and hx-replace-url

0:00 9:46

No transcript yet.

Requests help us decide what to transcribe next.

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.