htmx Is Pro-JavaScript
summary
htmx is written in JavaScript and claims to replace heavy client logic with declarative HTML attributes — roughly about a dozen core attributes drive behavior. A live demo shows an active search using four attributes (post on input with a 500ms debounce, target results) returning HTML rows that htmx inserts. Another demo integrates SortableJS to drag‑and‑drop list items and POST the new order to /items, demonstrating the library working alongside JavaScript rather than instead of it.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 1:25What HTMX is
- 3:31Hypermedia controls basics
- 6:17HTMX attributes
- 9:48HTMX attributes demo
- 12:14Active search patterns
- 14:46HTMX vs JavaScript
- 16:32Sortable demo
- 19:07REST and extensibility
- 20:59HTMX and JavaScript roles
- 22:04Q&A
related talks
19mhtmx: Writing JavaScript to Avoid Writing JavaScript
13mHTMX - simplicity in frontend development
54mHTMX: Web 1.0 with web 2.0 benefits without the grift of 3.0
27mHTMX – Say “no” to Complexity
37mHTMX: Frontend Revolution
23mIntroduction to server-driven web applications using htmx
26mReimagining dynamic web apps with HTMX
57mHTMX: Why You Don't Always Need a SPA Framework
