Skip to content

What is the default value of a slot? #24290

Answered by AkiraVoid
AkiraVoid asked this question in Q&A
Discussion options

You must be logged in to vote

OK, now I know why:

The value undefined of slots only exists in states which are returned by useComponent, everything returned by getSlots will only be
a component or null.

This should be mentioned in docs.

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@bsunderhus
Comment options

@AkiraVoid
Comment options

@bsunderhus
Comment options

@AkiraVoid
Comment options

@bsunderhus
Comment options

Answer selected by AkiraVoid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants