Can we simplify front end again? Meet DynamoJS
5KB jQuery-era framework when Alpine, htmx, and Preact already own this space.
simple reactive javascript for html
HTMX-native state layer: reactive contexts spread across multiple DOM fragments, no VDom.
HTMX users, hypermedia developers, server-side rendering advocates
Alpine.js · Shoelace · HTMX
It looks like this:
<div hctx="counter"> <span hc-effect="render on hc:statechanged">0</span> <button hc-action="increment on click">+1</button> </div>
It comes with reactive state, stores, and allows you to build your own DSL in HTML.
One feature that stands out is the ability to spread a single context scope across different DOM locations:
<!-- Header --> <nav> <div hctx="cart"> <span hc-effect="renderCount on hc:statechanged">0 items</span> </div>
</nav>
<!-- Product listing -->
<div hctx="cart">
<button hc-action="addItem on click">Add to Cart</button>
</div>
<!-- Sidebar -->
<div hctx="cart">
<ul hc-effect="listItems on hc:statechanged"></ul>
</div>
Contexts are implemented via a minimal API, and TypeScript is fully supported.
Curious what you think, feedback is welcomed.
5KB jQuery-era framework when Alpine, htmx, and Preact already own this space.
Yet another Electron alternative, but Wails and Tauri already own this space.
CSS-only Flappy Bird is a fun five-minute novelty with no practical use beyond the demo itself.
Zero-build reactive framework, but the function-based JSX alternative feels verbose.
Python-to-JS compilation for full-stack apps, but Reflex and Flet already exist.
Turns any HTML form voice-accessible with one script, auto-mapping speech to fields.