svelte
svelte copied to clipboard
Context not working with array
Describe the bug
After setting an array, I use setContext inside $effect. This feels right - otherwise a warning come up. But my subcomponent do not get context. Array is undefined
Same thing with object
Reproduction
Logs
No response
System Info
Svelte 5.1.14
Severity
blocking an upgrade