What hydrargyri does not do
Each of these is a decision, not a gap waiting for a pull request. The reasoning is here so you can tell whether the trade is one you want, before you build on it.
Implicit deep reactivity
Setters notice assignment, not mutation. el.user = {…} repaints;
el.user.name = 'x' does not, until update('user')
— or until the model came from reactive(), which is
the one door, and it only opens by name.
What stays refused is the implicit version: hydrargyri never wraps an object you assigned, and will not grow dependency tracking, computed values or effects. A proxy has a real cost — the thing in your debugger is a membrane, not your data, and identity checks against the raw original fail — so it is a cost you take on purpose, per model, never one the library spreads over everything you touch.
Two-way binding
DOM to state goes through a handler you wrote — on="input:rename" — never
behind your back. A value bind writes state into a field and never reads
it back out.
The version that reads back is four lines and would remove rename from the
greeter. It would also mean the field and the state disagree for as
long as it takes an input event to fire, and that whichever of the two you
are debugging, the other one is writing to it.
Late DOM
Binds and handlers are scanned when the element connects, and a node added
afterwards is not seen. The way through is by name:
rescan() runs the same
scan on the current subtree, and
re-connecting the element — move it, put it back — does the same through the
lifecycle.
What stays refused is the automatic version. A MutationObserver per element
would pick up new nodes on its own, and would also make every unrelated DOM
change in the subtree cost a rescan.
Sanitizing
:html is innerHTML, verbatim.
The contract: bind values are your state, not user input. Anything reaching
a :html bind is executed as markup by the browser, so a value you did not
write belongs in a text bind — which goes through textContent — or an attr
bind, which goes through setAttribute. Both are inert by construction: markup
arriving through them stays text, and hydrargyri.test.js holds a test proving it.
Hydrargyri will not add a sanitizer. A sanitizer that is wrong is worse than none,
because it reads as a guarantee; the platform's own
setHTML is
the right place for that job, and it is not hydrargyri's to reimplement while it
lands.
A framework's worth of everything else
No templating, no virtual DOM, no components with slots, no router, no store, no plugin ecosystem. Hydrargyri writes values into nodes that already exist; it never creates, reorders, or diffs them. If you need a page built out of data, you need one of the tools on the comparison table, and that is not a defeat.
The line sits exactly at who creates the nodes. Your code cloning a platform
<template>
into an element before it is defined is fine — by the time hydrargyri scans on
connect, the clone is authored markup like any other, and the examples
page shows the
pattern with a reactive model bound through it. What stays refused is hydrargyri
doing the stamping.
The one door lives outside the house:
hydrargyri-each is a separate package whose
<hg-each> clones an author-written <template> once per entry of an array or
object — the same bind grammar, names never code, and this refusal here stands
unamended. The hg-each page covers it.
What it does instead of failing
It warns. A bad bind, an unknown handler, a name that collides with the platform — each one warns in the console, is skipped, and leaves the rest of the element working. A page that half-works is worth more than a page that stopped, and the markup underneath was readable before hydrargyri arrived anyway.