`fork` breaks reactivity of class fields in object from a `$derived`
Opened this issue · 1 comments
zqianem commented
Describe the bug
After the fork is committed, updates to a class field where the object is returned from a $derived (or a $derived.by) are no longer reflected in the DOM.
See comments in the reproduction for details.
(Found in a SvelteKit project, where the original $derived.by actually has dependencies.)
Reproduction
Logs
System Info
n/aSeverity
blocking an upgrade