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

followup fix to #1653 #1760

Merged
merged 1 commit into from
Oct 17, 2018
Merged

Conversation

ekhaled
Copy link
Contributor

@ekhaled ekhaled commented Sep 26, 2018

@jacwright
Copy link
Contributor

I think this is ok. Though it seems that calling destroy before mount is possibly a bug and could cause issues with other features as well, though I'm not sure about that.

@ekhaled
Copy link
Contributor Author

ekhaled commented Sep 26, 2018

it happens when you have components in a conditional slot.
they are instantiated, but not mounted until they are required.

https://svelte.technology/repl?version=2.13.5&gist=53a6fff3b017d4220d8b153243717f30

@Rich-Harris Rich-Harris merged commit 540cd05 into sveltejs:master Oct 17, 2018
@Rich-Harris
Copy link
Member

thank you!

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.

3 participants