Podcast Episodes
Back to SearchHtmx response headers: HX-Location and HX-Redirect
Season 3 Episode 8
Redirect your users to a new page from your back-end server in SPA-mode (no refresh for them)
https://htmx.org/headers/hx-location/
2 years, 2 months ago
Htmx request headers: HX-History-Restore-Request
Season 3 Episode 7
This header is to make sure your system loads the full page when
1) You are suing hx-push-url to work with the url bar
2) Users click the back button.…
2 years, 3 months ago
Htmx request headers: Hx-Current-URL
Season 3 Episode 6
The htmx request header that tells you
EXACTLY where the user is making the request from
The full url string with all ids and params
2 years, 3 months ago
Stop taking shortcuts
Season 3
A case for taking the extra steps. It's a good thing
2 years, 3 months ago
Htmx request headers: HX-Prompt
Season 3 Episode 5
hx-prompt="what's your favorite size turtle?"
Request Headers:
Hx-Prompt: small
2 years, 3 months ago
Htmx request headers: Hx-Boosted
Season 3 Episode 4
How can your server tell if its a regular link click or an hx-boost SPA-mode link click??
I'll tell you everything about it in these 5 minutes!
2 years, 3 months ago
Htmx request headers: Hx-Target
Season 3 Episode 3
Let's your server know what the id is of the hx-target!
You need 2 things to send this request header:
1. Use the attribute: hx-target="some_id"
2. Use …
2 years, 3 months ago
Htmx request headers: Hx-Trigger and Hx-Trigger-Name
Season 3 Episode 2
You can use these headers to conditionally branch your response based on *which element* the request was triggered from
example of format:
Request Head…
2 years, 3 months ago
Htmx request headers: Hx-Request
Season 3 Episode 1
An example in the wild: The Laravel blade documentation:
https://laravel.com/docs/11.x/blade#rendering-blade-fragments
2 years, 3 months ago
What's next on the podcast?
Season 2
We're (Me're) 43 episodes in. What's next?
2 years, 3 months ago