Skip to content

Conversation

harshmandan
Copy link
Contributor

@harshmandan harshmandan commented Aug 18, 2025

Note: Alternative to #16633 | Close this, if that PR gets merged

Follows up #16624

failing test case w/ 16638 | The same test case with this PR

In the previous PR, components - even deferred being un-mounted immediately. This PR adds a check so that only non deferred components are unmounted immediately.

Tests and linting

  • Run the tests with pnpm test and lint the project with pnpm lint

Copy link

changeset-bot bot commented Aug 18, 2025

🦋 Changeset detected

Latest commit: 41e3dd9

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

@harshmandan harshmandan deleted the fix/unmount-not-deferred-components-immedietaly branch August 18, 2025 10:13
Copy link
Contributor

Playground

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

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.

1 participant