-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
p0stuff we should fix ASAPstuff we should fix ASAP
Milestone
Description
Describe the bug
When a value twice derived is used in a computed expression which is the value of a prop/argument of a component/snippet with a default value it may not always receive updates when the underlying state changes. Please see the reproduction section for more details.
Occurs in versions 5.19.5 and above.
Reproduction
See minimal reproducible example in the repls below:
Displays 0, incorrect
[email protected]
Displays 1, correct
[email protected]
System Info
System:
OS: Windows 11 10.0.26100
CPU: (32) x64 AMD Ryzen 9 9950X 16-Core Processor
Memory: 34.45 GB / 61.58 GB
Binaries:
bun: 1.2.13 - ~\AppData\Local\Temp\bun-node-64ed68c9e\bun.EXE
Browsers:
Edge: Chromium (136.0.3240.50)
npmPackages:
svelte: ^5.33.14 => 5.33.14
Severity
blocking an upgrade
Prinzhorn, maxmmyron, gyzerok and Jerboas86
Metadata
Metadata
Assignees
Labels
p0stuff we should fix ASAPstuff we should fix ASAP