It gives you reactive state and a way to bind that state to existing DOM.
Mador is a native ES module and can be used through npm or directly from a CDN.
There are no components, templates or virtual DOM.
Mador works with the DOM you already have.
selectorselects the elements to update.
updatereceives each element and the value returned by read.
readselects the state the binding depends on.
Mador tracks the properties read by the binding and only reruns it when those dependencies change.
Writes arebatched, so multiple changes made in the same write are processed together.
‘Bindings’ are associated with the DOM they update.
When the matching elements are gone, Mador can remove the corresponding reactive runner.
There is no component lifecycle to manage.
Sometimes a page doesn’t need a framework.