Skip to content

Conversation

@trueadm
Copy link
Contributor

@trueadm trueadm commented Feb 6, 2025

Fixes #15229. When we reconnect a derived that was previously unowned and tacking skipped, we only add a single reaction – however, the original derived might have had multiple dependencies. Duplicate dependencies is fine for owned deriveds, however for unowned we should be a little more resilient to ensure we're not falling into the fail case.

@changeset-bot
Copy link

changeset-bot bot commented Feb 6, 2025

🦋 Changeset detected

Latest commit: fec7668

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

@github-actions
Copy link
Contributor

github-actions bot commented Feb 6, 2025

Playground

pnpm add https://pkg.pr.new/svelte@15232

@trueadm trueadm merged commit f2c83e5 into main Feb 6, 2025
10 checks passed
@trueadm trueadm deleted the unowned-fix-5 branch February 6, 2025 21:25
@github-actions github-actions bot mentioned this pull request Feb 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reactivity regression with 5.19.5 with conditional function calls

3 participants