New library Mador adds reactive state binding to plain HTML in 855 bytes
A developer released Mador, an open-source JavaScript library that lets existing DOM elements respond to state changes without adopting a full framework. It uses a Proxy-based state tuple with read and write functions to bind elements to specific state properties, updating only when those dependencies change. The tool is distributed as a native ES module via npm or CDN and is roughly 855 bytes when minified.
GoKawiil's interpretation of the reporting above, not reported fact.
Many small websites and legacy pages need light interactivity but don't want the overhead of React, Vue, or similar frameworks with virtual DOM and component lifecycles. Mador's approach of binding reactivity directly to existing markup could appeal to developers seeking minimal-footprint solutions for simple dynamic behavior, though it lacks the tooling ecosystem and community support of established frameworks.
- Mador uses a Proxy-based state tuple with read/write functions instead of components or virtual DOM.
- The runtime is extremely lightweight at around 855 bytes minified.
- It targets developers who want reactivity added to existing HTML without adopting a full framework.
JavaScript: The Definitive Guide (O'Reilly, Flanagan) — If minimalist tools like Mador appeal to you, this O'Reilly classic is the perfect companion — it digs into the language primitives such as Proxy, getters, and ES modules that make tiny reactive runtimes possible. It's a solid desk reference for writing framework-free JavaScript that still feels modern.
See JavaScript: The Definitive Guide (O'Reilly, Flanagan) on Amazon → Affiliate link — we may earn a commission on purchases, at no extra cost to you. Product picked by AI based on this article; it is not a tested recommendation.Source: github.com, 2026-09-06
Published there as: “Show HN: Mador – Make any DOM reactive with a tiny 80-line Proxy state tuple”
Read the original report → The summary and analysis above are GoKawiil's own, written from reporting by the source above. Facts and quotes belong to the original publisher.