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
{{ message }}
Repository navigation
[2.0] A ref's attribute write survives hydration but is overwritten on client creation #3685
A ref that writes an attribute keeps its value after hydration but loses it on client creation. For a value it can't inline, the compiler emits setAttributeafterref, and setAttribute is skipped while hydrating.
Fixed by #3686, squash-merged to next as c71486d — thanks for the report and the PR. Closing by hand because GitHub only auto-closes on merges into the default branch, and 2.0 development lands on next. It will ship in the next RC.
Activity
fix(compiler): run an element's ref after its attributes (#3686)
ryansolid commentedon Sep 28, 2026