You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A textarea with a reactive value causes hydration issues.
Hydration key miss for "170300310002": no server-rendered element carries this key (template: <button class=increment type=button>Clicks: <!$><!/>). A detached element was created instead; its subtree will not appear in the document or become interactive. This usually means the server and client hydration id namespaces are misaligned — when hydrating a subtree of a larger server render, wrap the document shell in <NoHydration> and re-enter with <Hydration> around the hydrated subtree (or pass hydrate() a renderId matching the server's <Hydration id>).
Confirmed and fixed in #3696 — thanks for the minimal reproduction, it pinpointed it.
Root cause: on the server, <textarea value={text()} /> folds the value into the textarea's text content, and that folded child was taking the _$scope hydration-id reservation a dynamic child hole gets. The client compiles the same JSX to a plain value property effect, which never allocates an id. So the server consumed one extra child slot before Counter, and everything after the textarea hydrated one id off — exactly the …0003 vs …0002 you saw, with the button going unclaimed and the click updating detached DOM.
Same class of bug as #3015 (innerHTML/textContent), which had the fix but the textarea fold lives on a different path in both the Babel plugin and the native compiler. Both are fixed together, with a shared compiler fixture and a hydration parity-harness scenario that reproduces your report (fails pre-fix, passes after).
Activity
ryansolid commentedon Sep 28, 2026
fix(compilers): textarea value fold must not reserve a hydration id (#…
ryansolid commentedon Sep 28, 2026