Domma Reactive User Manual

Troubleshooting and limits

Updated by Darryl Waterhouse on 17 October 2026 3 min read

Every one of these was hit while building the example app above.

Symptom Cause Fix
Ticking a checkbox changes nothing A plain field on a list item is not reactive done: observable(false), and bind done.value
{{name}} renders literally applyBindings never interpolates mustache data-bind-text="name"
data-each renders nothing, with a warning No key= data-each="rows key=id"
data-if="show" never shows, with a warning naming show.value show is the observable, not its value data-if="show.value"
<!-- dm if --> content missing from every row of a virtual list Virtual bindings are not read inside a list body {{#if flag}} inside the body
{{total.get()}} will not parse An expression cannot call a method total.value, which is the same read
A binding is silently skipped Its expression did not parse; look for the warning The warning names the source and the template
Effects keep running after the DOM is gone Nothing disposed them handle.dispose() / controller.destroy()
Mutating an object and reassigning it does nothing The change gate compares old and new - the same reference Produce a new value
data-model="$parents[0]" warns and does nothing $parents and every context are frozen Bind ancestor data: $parents[1].name
A nested data-each renders its template unexpanded, with a warning A list's item template is compiled markup, and the compiler knows {{#each}}, not data-each Nest with {{#each}}, which works inside a data-each body
data-component="contact-card" warns that the name is not a string Every binding value is an expression, so that reads a variable called contact-card Quote the literal: data-component="'contact-card'"
A component's every param is undefined data-param-* with no data-component on the same element - look for the compile-time warning Check the component attribute is present and spelled correctly

Nothing in the binding layer throws on bad input. Every failure above logs exactly one warning, naming the expression and the template, and skips that binding alone - one broken binding does not take the rest of the page down with it.

Limits and non-goals

This is a reactivity and binding layer. It is not a framework: there is no router, no lifecycle hooks, no server-side-rendering hydration beyond applyBindings, and no devtools.

Deliberate omissions, each with its reasoning above: no scope-chain lookup, no data-bind-html, no observable unwrapping, and no eval-backed expressions. None of these is waiting on anything, and the spellings here differ from Knockout's on purpose and will go on differing.

One thing is a refinement rather than an omission: list placement is in order rather than minimal-move. That costs extra DOM moves on a reverse or a long drag and nothing else - correctness and node identity do not depend on it, so it can land in any 1.x release without disturbing anything.

The Knockout gap list is empty. $parents[n] shipped in 0.6.0 with $parentContext, components in 0.7.0, and slots in 0.8.0. Anything Knockout can do, this can do. What remains different is spelling, and that is settled rather than pending - the differences above are the price of parsing binding expressions by hand instead of compiling them with Function, and they are not going to change.

The one thing beyond parity that is not here is scoped slots - a component exposing values its own slot content can read, as Vue's v-slot does. That one genuinely does meet the compile-once wall: the content would have to be compiled against a context that does not exist until mount. Knockout has no equivalent, so nothing is owed here.

Known limits

Bindings inside an unkeyed {{#each}}, and inside {{#with}}, are not bound independently - the block re-renders as a whole, so a behaviour binding inside one is not attached. An unkeyed {{#each}} says so in its single "no key=" warning, naming every binding it dropped - add key= and every one of them works; see Keyed lists. Inside {{#with}} there is no key to add: write the full path (data-model="obj.field") without the block.

{{> partial}} inside a keyed block is not expanded. The block body is compiled once into a <template>, before any render pass exists to resolve a partial against. Inline it, and the compiler says so if you do not.

data-each is an applyBindings spelling, and the one place it does not work is inside another list. A list's item template is compiled markup - the same compiler compile() uses - and the compiler discovers lists from {{#each}} only. A nested data-each is therefore inert: the attribute is left as written and the bindings inside it resolve against the outer item. It warns, naming the mustache form to use instead.

Nest with {{#each}}, which reconciles at any depth and works inside a data-each body - mustache is meaningful there precisely because that body is compiled:

<ul data-each="groups key=id">
    <li>
        {{#each members key=id}}<b>{{name}} - {{$parentContext.$index}}</b>{{/each}}
    </li>
</ul>