-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Impossible to pass key blocks through slots #7408
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
Comments
@alextana Interestingly, if you pass the |
Yeah, that's interesting and it works well enough for me to close this, thanks a lot @kindoflew :) |
even if it's possible when it's passed as prop, can we let this open, so we can fix original issue in compiler? |
fair point, I'll reopen |
Describe the bug
I'm trying to use a key block to rerender a component based on a condition, but I noticed that if a component is nested it looks like it doesn't actually get re-rendered
Reproduction
https://svelte.dev/repl/990bc381eae748a2822c3d07304d14c2?version=3.46.5
the behaviour I'm expecting is to get Component3 to log 'mount' when reset changes
Logs
No response
System Info
Severity
annoyance
The text was updated successfully, but these errors were encountered: