Re:Show HN: µJS, a 5KB alternative to Htmx and Turbo with ze...
by qingcharles on Saturday March 07, 2026 @10:23PM
(#47294070)
I love that drag/drop, BTW. Really nice. Gonna see how I can use that.
Re:Show HN: µJS, a 5KB alternative to Htmx and Turbo with ze...
by xhcuvuvyc on Sunday March 08, 2026 @01:37AM
(#47295113)
Aside from being able to build fast websites: https://youtu.be/fWfIf7Vfjec
Relying on server side as the source of truth inverts complexity. Suddenly 90% of the modern webs problems evaporate. Turns out building everything on top of a shadow dom in the client creates a boatload of unforced errors.
Re:Show HN: µJS, a 5KB alternative to Htmx and Turbo with ze...
by amaury_bouchard on Sunday March 08, 2026 @03:01AM
(#47295233)
The sweet spot is everything between a static website and a full SPA, which is actually most of the web. Think e-commerce (filtering, cart updates, pagination), dashboards (refreshing metrics, notifications), admin interfaces (inline editing, form submissions), content-heavy sites (live search, comments, modals). Basically any app where the primary interaction is 'user does something, server responds with updated content'. For drag-and-drop kanban boards or collaborative editors, you're right, µJS is not the right tool. But those are a small fraction of what gets built every day. Most web apps are glorified CRUD interfaces, and for those, server-rendered HTML fragments are simpler, faster to develop, and easier to maintain than a full SPA.
I just struggle to envision what application benefits from the efficiency that this or htmx offer, but from neither the ultra-interactive, nor the ultra-collaborative. Maybe updating stock ticker prices? Fast-service back-of-house ticketing displays?
I would love to feel called to reach for this library.
0. https://github.com/atlassian/pragmatic-drag-and-drop
1. https://github.com/yjs/yjs