Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure local prop value is read during teardown #13611

Merged
merged 4 commits into from
Oct 15, 2024

Conversation

trueadm
Copy link
Contributor

@trueadm trueadm commented Oct 15, 2024

Fixes #13605. Now we have ownership of deriveds, if we have the case where a prop is re-assigned locally then we need to ensure that upon teardown of the local component we switch to using that value and not that of the parent derived, as that derived will now be destroyed already.

Copy link

changeset-bot bot commented Oct 15, 2024

🦋 Changeset detected

Latest commit: 4868f4d

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 trueadm merged commit 68a2263 into main Oct 15, 2024
9 checks passed
@trueadm trueadm deleted the derived-props-teardown branch October 15, 2024 15:39
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.

From [email protected] an error with svelte-flatpickr. Works with 264.
2 participants