when writing a comment in a slot, the component can access the default slot internally. #14018
Unanswered
imddc
asked this question in
Help/Questions
Replies: 1 comment 2 replies
-
|
This is because the playground preserve the comment nodes by default. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
-
when writing a comment in a slot, the component can access the default slot internally.
I think this is not an intuitive behavior, maybe the compiler can optimize this behavior?
Beta Was this translation helpful? Give feedback.
All reactions