Documentation

Everything, in two pages: how to set it up, and what every name does.

Setup

Installing it - by npm, by script tag, or by neither. Wiring it to a page your server already rendered, running it in Node, satisfying a strict Content Security Policy, and tearing it down again.

Ends with the things that go wrong on day one and what each one means.

Setup

Reference

Every export, every binding, the expression grammar and the component contract - signatures, rules and the failure behaviour of each.

The page carries its own contents list, so it is meant to be searched rather than read.

Reference

Where to start

If you want to Go to
Understand what this is before installing anything About
Get it into a project now Setup
Learn it by building something Tutorial - a contacts system in twelve steps
Look up a signature or a rule Reference
See it against a real database Examples
Just the links - npm, GitHub, the changelog Get it

The short description

domma-reactive is a reactivity graph and a binding layer. observable, observableArray, computed and effect make up the graph; twelve kinds of data-* attribute read from it. applyBindings(data, element) activates those attributes on markup that already exists; compile(template, data, container) renders a mustache template instead.

About 21 KB gzipped, no dependencies, MIT, and no build step at any point.

Setup Reference