-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
svelte 5: non enumerable property is removed in unstate #10315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Please can you create as repro on the REPL rather than stackblitz? Thanks. |
I'll try. |
Here is the REPL. It seems it occurs when a property is defined using The solution in zag is to set enumerable to true for computed context properties. The solution in svelte is to use |
@izznatsir Thank you for that. Can you try out #10348 and see if it fixes your problem? |
Confirmed it fixed my issue. Thanks! |
Uh oh!
There was an error while loading. Please reload this page.
Describe the bug
Invoking
unstate
inside$derived
results to a nested prop value removed.Reproduction
Please look at the
+page.svelte
file in the repo below.Reproduction
Steps:
Logs
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: