svelte
svelte copied to clipboard
fix: ensure mark_reactions occurs for dirty signals
There was a bug in https://github.com/sveltejs/svelte/pull/12921. I've revised the logic and added a comment for it, we should only apply new heuristic for when we are setting the status to MAYBE_DIRTY.
Funnily the failing case is captured in the $state.link PR.
🦋 Changeset detected
Latest commit: e352eccbc2fa19419a1b38797e78f3d7e692bf2b
The changes in this PR will be included in the next version bump.
This PR includes changesets to release 1 package
| Name | Type |
|---|---|
| svelte | Patch |
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
@trueadm what's the status on this here? There was some concerns about readability, but given that it seems to fix #13174 (in which case we should also add a test to this PR) I'd like to get this in soon
@dummdidumm I don't see how this PR can fix that issue? I'll look into it tho
Mhm I think I was mistaken - one of the reproductions in that issue did work in the REPL of this PR, but I can't reproduce that anymore, it now fails in this one, too.
Is this PR still live? As mentioned the logic is somewhat unclear, and the changeset and the code don't seem to correspond to each other
It was a perf opportunity. I’ve had bigger fish on my radar though so feel free to take over or close