-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Describe the bug
if i declare a @const inside an #each block ...it doesn't get reevaluated when the items changes...something that happens in version Svelte 4.
Reproduction
i give 3 REPL
one with old Svelte version REPL
one with new svelte 5 preview REPL
and one with $state REPL
Logs
No response
System Info
System:
OS: Windows 10 10.0.19045
CPU: (16) x64 AMD Ryzen 7 5700U with Radeon Graphics
Memory: 6.73 GB / 15.36 GB
Binaries:
Node: 20.10.0 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.21 - ~\AppData\Roaming\npm\yarn.CMD
npm: 10.4.0 - C:\Program Files\nodejs\npm.CMD
Browsers:
Edge: Chromium (121.0.2277.128)
Internet Explorer: 11.0.19041.3636
npmPackages:
svelte: ^5.0.0-next.1 => 5.0.0-next.65Severity
annoyance
Metadata
Metadata
Assignees
Labels
No labels