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
trueadm
changed the title
Svelte 5: compilation error when referencing local state
Svelte 5: compilation error when referencing shadowed state
Sep 18, 2024
Describe the bug
Given this use test case:
You can see the compiled output for the
return local
is incorrectlyreturn $.get(local);
This is because we are shadowing thelocal
binding.This means that we then push the state object into the dependencies for the derived signal causing everything to crash to a halt.
Reproduction
Repro case
The text was updated successfully, but these errors were encountered: