Describe the bug
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>).
web.dev-D1p1Q9NU.js?v=7555594c:1570 Hydration completed with 1 unclaimed server-rendered node(s):
<button _hk="170300310003" class="increment" type="button">Clicks: <!--$-->0<!--/--></button>
Your Example Website or App
https://github.com/sabercoy/solid2-textarea-hydration-bug
Steps to Reproduce the Bug or Issue
Run the app and see the errors in the console. It is a basic create-solid app with only the index.tsx page modified.
Expected behavior
No errors.
Screenshots or Videos
No response
Platform
- OS: Linux
- Browser: Chrome
Additional context
No response
Describe the bug
A textarea with a reactive value causes hydration issues.
Your Example Website or App
https://github.com/sabercoy/solid2-textarea-hydration-bug
Steps to Reproduce the Bug or Issue
Run the app and see the errors in the console. It is a basic create-solid app with only the index.tsx page modified.
Expected behavior
No errors.
Screenshots or Videos
No response
Platform
Additional context
No response