hx-pod

Does htmx application structure exist?

Apr 18, 2025
Ask episode
AI Snips
Chapters
Transcript
Episode notes
INSIGHT

HTMX Is Not a Framework

  • HTMX is fundamentally different from traditional front-end frameworks like React or Vue because it is not a framework with a virtual DOM.
  • It acts as a front-end tool that lets you manage your app's front end without imposing an application structure.
ADVICE

Start With Backend Structure

  • When using HTMX, start with your backend application structure as usual since that's where you organize models and screens.
  • Use HTMX to enhance interaction but don't feel you must use it for everything in your app.
INSIGHT

HTMX Enhances Traditional Web

  • HTMX extends traditional Web 1.0 page concepts by letting you swap parts of the DOM after the page loads.
  • This means you build your page normally and add HTMX where you want interactivity, rather than rethinking the entire app structure.
Get the Snipd Podcast app to discover more snips from this episode
Get the app