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.0 docs missing migration guide for ref changes #1630
In 1.x we could register cleanup in the ref callback, but not in solid 2.x
no ownership is documented in the docs for 2.x . but the migration guide is not addressing it.
it should show the migration path for ref changes.
I assume that we now requires an higher order component wrapper
The migration guide at v2.solidjs.com is maintained in the solid-docs repo, so transferring this issue there. The gap is real — the page covers use: → ref migration but not the ownership change (getOwner() is null inside a ref callback in 2.0, so 1.x-style onCleanup registration inside refs no longer works).
Activity
ryansolid commentedon Aug 17, 2026
The migration guide at v2.solidjs.com is maintained in the solid-docs repo, so transferring this issue there. The gap is real — the page covers
use:→ ref migration but not the ownership change (getOwner()is null inside a ref callback in 2.0, so 1.x-styleonCleanupregistration inside refs no longer works).