Mador debuts 855-byte DOM reactivity
Mador is an approximately 855-byte native ES module that adds fine-grained reactivity to existing DOM through a Proxy-backed state tuple. It tracks dependencies, batches writes, and cleans up bindings without components, templates, a virtual DOM, or a build step.
Mador is a sharp antidote to framework inflation, though its sweet spot is small HTML-first interfaces rather than complex application architecture.
- –`r(selector, update, read)` updates only elements whose tracked state dependencies changed.
- –`w` batches multiple mutations into a single processing cycle.
- –Native ESM, CDN/npm distribution, and zero build requirements make adoption nearly frictionless.
- –The lack of components and lifecycle machinery keeps the runtime tiny but leaves composition, routing, and larger state conventions to developers.
- –Its Proxy-based approach echoes Vue and signals, but Mador’s differentiator is ruthless scope and direct DOM updates.
DISCOVERED
1h ago
2026-09-07
PUBLISHED
5h ago
2026-09-06
RELEVANCE
AUTHOR
bosmarcel