Lazarus

hx-pod

Join me while I learn about web fundamentals and talk at you about itTwitter: @all__hype

Koniecznie odwiedź stronę podcastu i wesprzyj twórcę: twitter.com

Autor

Lazarus

Kategoria

Technology

Strona podcastu

twitter.com

Ostatni odcinek

28.10.2026

Gdzie słuchać?

Podcasty w aplikacji Replaio Radio Już wkrótce

Podcasty trafią do aplikacji już wkrótce. Zainstaluj teraz i jako pierwszy zobacz nowe podejście do podcastów

Pobierz z Google Play Zainstaluj za darmo Android 10 mln+ pobrań · ocena 4,7+ iOS wkrótce

Odcinki

The basics: hx-on (htmx 1.x -> 2.0) 25.01.2024

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

What, you're too good for a regular javascript confirmation? Fine https://htmx.org/examples/confirm/

Bonus: htmx and gatekeeping 23.01.2024

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

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

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

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

Uh oh. Your inputs are outside a <form> tag, what's to be done?

The basics: hx-post 17.01.2024

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

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

Is this really learning? It might be.

The basics: hx-trigger 13.01.2024

What would "tailwind but for javascript" feel like?

The basics: hx-get and hx-target 10.01.2024

What if your browser could skip the json-processing step of an api?

Bonus: Considering your legacy (code) 09.01.2024

Consider this: you have to add a fancy feature to a legacy app.  Who you gonna call?

Słuchaj podcastu hx-pod w Replaio

Radio i podcasty w jednej aplikacji - za darmo, bez zakładania konta. Zainstaluj już dziś i nie przegap premiery

Pobierz z Google Play

Replaio nie jest wydawcą podcastów; nazwy audycji, okładki i audio należą do ich autorów i są rozpowszechniane przez publiczne kanały RSS