The HTML-First Approach: Why Htmx and Lightweight Frameworks Are Revolutionizin
Posted22 days agoActive22 days ago
danieleteti.itTech Discussionstory
informativepositive
Debate
40/100
HtmxHTML-First ApproachFramework Release
Key topics
Htmx
HTML-First Approach
Framework Release
Discussion Activity
Light discussionFirst comment
5h
Peak period
5
5-6h
Avg / period
3
Key moments
- 01Story posted
Dec 11, 2025 at 7:37 PM EST
22 days ago
Step 01 - 02First comment
Dec 12, 2025 at 1:06 AM EST
5h after posting
Step 02 - 03Peak activity
5 comments in 5-6h
Hottest window of the conversation
Step 03 - 04Latest activity
Dec 12, 2025 at 2:44 AM EST
22 days ago
Step 04
Generating AI Summary...
Analyzing up to 500 comments to identify key contributors and discussion patterns
ID: 46239445Type: storyLast synced: 12/12/2025, 7:00:23 AM
Want the full context?
Jump to the original sources
Read the primary article or dive into the live Hacker News thread when you're ready.
https://www.pangram.com/history/30310094-f54b-4e74-8d68-e4c9...
So it's not a game changer, just a less-bloated JS solution?
What server doing ? it uses cgi, python, etc myriad of scripts to generate html
Whats better, a button click and js in browser opens a menu, or fetching a new html with menu open
hx-trigger="keyup changed delay:500ms"
hx-trigger="click[ctrlKey]"
It fires off weird events you’re supposed to hook into with JS:
document.body.addEventListener('htmx:beforeSwap', function(evt) { …
You lose static analysis and gain hard to track down bugs merely from typos
It reminds me of ColdFusion and Angular v1, with its extensions to HTML. HTML was meant for defining content structure, not behavior
Just use plain JS over this if you hate React so much. Or jQuery even. Keep the behavior out of the content layer.