做局部刷新、表单提交或者列表更新,是不是一上来就习惯性先拽个框架,再去死磕请求和 DOM?
This is a dev post classified by AGK Intelligence as Web frameworks (a tool drop), kept by the Dev Radar because it carries real work, not commentary.
做局部刷新、表单提交或者列表更新,是不是一上来就习惯性先拽个框架,再去死磕请求和 DOM? htmx 压根不按这套路出牌:直接在 HTML 标签上挂个 hx-get、hx-post 之类的属性,事就成了。 点一下也好,提交也罢,浏览器负责发请求,服务端扔回一段 HTML,htmx 顺手就把它贴到页面指定的位置。就连 WebSocket 和 SSE,也是加个属性就能拽进来。 整个库才 14KB 上下,不用装啥依赖。它这脑回路就是让 HTML 顶上去干更多互动的活儿,让你少写一大截 JavaScript。 地址:https://github.com/bigskysoftware/htmx
Posted by lumxss (32.9k followers) 3 days ago · 1 likes · 1.1k views · view the original post on X. Kept by the Dev Radar as Web frameworks. Tools mentioned: htmx.
More dev work like this
- We're prototyping native language support in Next.js, starting with Route Handlers and… — @timneutkens
- Three.js r187 released 🍎 — @threejs
- Option Wheel Interactive Component — @cabralorenzo
- 『設計と意志』MV リアルタイムバージョン — @kiyoshi_shin
- https://pro.reactbits.dev is not that far behind! — @davidhaz
- Nx 24 is out! — @NxDevTools
- motion design, but you npm install it 🤯 — @shadcnlabs
- Tell your agent to optimize your site’s web fonts. I’m seeing a huge difference on my… — @shuding
Every post is read and classified by AGK Intelligence: what it is, which market it belongs to, and whether the link is a real tool. 31.2k posts from 5k X accounts over the last 21 days, 8.8k tools, 12 markets. New posts are collected several times an hour and the full ranking is recomputed every hour — last update 2026-10-30 21:12 UTC. Full method.