hx-pod cover image

hx-pod

Latest episodes

undefined
May 3, 2024 • 6min

Htmx request headers: HX-Prompt

hx-prompt="what's your favorite size turtle?"Request Headers:Hx-Prompt: small
undefined
May 2, 2024 • 5min

Htmx request headers: Hx-Boosted

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!
undefined
May 1, 2024 • 4min

Htmx request headers: Hx-Target

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 a DOM id as the target: some_id needs to be an id, not another css selector
undefined
Apr 26, 2024 • 6min

Htmx request headers: Hx-Trigger and Hx-Trigger-Name

You can use these headers to conditionally branch your response based on *which element* the request was triggered fromexample of format:Request Headers:Hx-Trigger: search_inputHx-Trigger-Name: search
undefined
Apr 23, 2024 • 6min

Htmx request headers: Hx-Request

An example in the wild: The Laravel blade documentation:https://laravel.com/docs/11.x/blade#rendering-blade-fragments
undefined
Apr 21, 2024 • 7min

What's next on the podcast?

We're (Me're) 43 episodes in. What's next?
undefined
Apr 15, 2024 • 49min

Wordpress and htmx: A conversation with developer Andrew Rhyand

We talk integrating htmx with Wordpress!Andrew Rhyand https://andrewrhyand.com/Mentioned links:HTMX movies demo: (very slick & educational)https://htmx.andrewrhyand.com/Author of the Wordpress/Inertia Adapter:https://github.com/boxybird/inertia-wordpressAlpine/Livewire in Wordpress:https://github.com/boxybird/morph
undefined
Apr 12, 2024 • 20min

Advanced htmx: Season 2 recap, grouping the 13 advanced attributes

Advanced htmx: Recap & grouping each of the 13 advanced attributes we went over this "season" This means we have now gone through every attribute! (not counting extensions)1. Browser & HistoryHx-push-url - set your urlHx-replace-url - replace your url, save no snapshotHx-history-elt - change snapshot from default to particular elementHx-history - prevent something from being saved in the htmx snapshot2. Customizing RequestsHx-request - set no headers or timeout on requestHx-headers - set custom headers, dynamic or static jsonHx-sync - allows you to set rules for multiple htmx requests at once3. Submitting DataHx-validate - allows you to use validation rules outside of formsHx-disabled-elt - disables a button once you’ve clicked itHx-encoding - allows you to upload files via Ajax4. Overriding HtmxHx-disable - allows you to disable htmx for user comments, posts, etcHx-disinherit - breaks inheritance chain for one or more attributes5. Fun!Hx-select-oob - lets you place element from your response wherever you want
undefined
Apr 9, 2024 • 8min

Advanced htmx: hx-disinherit

Reddit thread with an example:https://www.reddit.com/r/htmx/comments/1bukz76/hxselect_reset/
undefined
Apr 5, 2024 • 7min

Advanced htmx: hx-history-elt

What if you wanted a part of your site to persist even using the back and forward on your browser?Here is the reddit thread I mention in the episode, with an example:https://www.reddit.com/r/htmx/comments/1bu14sg/how_to_make_a_audio_player_that_survives_the_back/

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode