Open
Description
Describe the bug
Here is the PR that causes the problem it seems: #16278
In our codebase we are using mutable deriveds for optimistic updates. Whenever there is a list to be updated we use SvelteSet or SvelteMap. In a certain cases we are calling update in onDestroy
because we want to actually perform it whenever context menu is closing. Now in 5.35.5 it got broken.
Unfortunately we really needed another PR that got merged within 5.35.5, so now we are blocked from upgrading.
Reproduction
- Click on the button
- In 5.35.4 number 2 will disappear from the list
- In 5.35.5 it does not
The repro could be trimmed down further, I just wanted to avoid questions "why are you doing this". Hopefully it's a bit clearer this way.
Logs
System Info
no relevant
Severity
blocking an upgrade
Metadata
Metadata
Assignees
Labels
No labels