Closed
Description
Describe the bug
State referenced in its own scope will never update. Did you mean to reference it inside a closure? (state_referenced_locally)
What problem was this warning intended to avoid in the first place?
Why does it always appear in confusing and unclear places?
In the slightly modified official documentation example below, everything works fine and I don't understand what the warning means.
Possibly related issues: #9857 #10905
Reproduction
Logs
No response
System Info
svelte@5.0.0-next.148
Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels