Lazarus
hx-pod
Join me while I learn about web fundamentals and talk at you about itTwitter: @all__hype
Be sure to visit the podcast's website and support the creator: twitter.com
Where to listen?
Podcasts in the app Replaio Radio Coming soonPodcasts are coming to the app soon. Install now and be the first to see a whole new take on podcasts
Episodes
The basics: hx-on (htmx 1.x -> 2.0) 25.01.2024 6:25
ALERT ALERT hx-on is changing tomorrow! ...sort of 1->2 guide: https://v2-0v2-0.htmx.org/migration-guide-htmx-1/ hx-on attribute: https://htmx.org/attributes/hx-on/
The basics: hx-confirm 24.01.2024 4:00
What, you're too good for a regular javascript confirmation? Fine https://htmx.org/examples/confirm/
Bonus: htmx and gatekeeping 23.01.2024 8:01
Who gatekeeps the Gatekeepers? the coast guard? Thank you to rick @maverism for tweeting out the podcast!
The basics: hx-put, hx-patch, and hx-delete 23.01.2024 5:13
What on earth are PUT PATCH and DELETE and why would I use them instead of POST? Well, which do you like better? A) <button hx-delete="/articles/1"> B) <button hx-post="/articles/1/delete">
Bonus: A real-world example of using hx-swap-oob 22.01.2024 4:49
How to load a bunch of links to the after the page loads and place them anywhere you want with hx-swap-oob On site: <div hx-get="/load-podcast-links" hx-trigger="load"></div> In response: <div id="placement-1" hx-swap-oob="true">Placement 1 text and link</div> <div id="placement-2" hx-swap-oob="true">Placement 2 text and link</div> <div id="placement-3" hx-sw...
The basics: hx-swap-oob 22.01.2024 5:41
This is a new idea: let your response decide its own target(s)! <div id="my-update-div" hx-swap-oob="true">Updated html</div> <div id="my-update-div-2" hx-swap-oob="true">More updated html elsewhere on the page</div>
The basics: hx-include 18.01.2024 3:57
Uh oh. Your inputs are outside a <form> tag, what's to be done?
The basics: hx-post 17.01.2024 8:21
Want to use POST requests in ajax, and submit forms from anywhere on the page? As promised in the episode, here are three ways to set up your CSRF token headers: 1. Like normal in your forms: <input type="hidden" name="_token" value=""/> (the regular html way works with htmx, of course) 2. Javascript <script> document.body.addEventListener('htmx:configRequest', (e) => { e.deta...
The basics: hx-swap 14.01.2024 5:51
You got your data back and your target, now where does it fit?
Trailer: The premise of this podcast is that you people are sick 13.01.2024 2:10
Is this really learning? It might be.
The basics: hx-trigger 13.01.2024 7:32
What would "tailwind but for javascript" feel like?
The basics: hx-get and hx-target 10.01.2024 6:44
What if your browser could skip the json-processing step of an api?
Bonus: Considering your legacy (code) 09.01.2024 5:55
Consider this: you have to add a fancy feature to a legacy app. Who you gonna call?
Similar podcasts
Replaio is not a podcast publisher; show names, artwork and audio belong to their authors and are distributed through public RSS feeds.