Can props.children
only be used in the template?
#1300
Answered
by
samijaber
brandonpittman
asked this question in
Q&A
-
I can display |
Beta Was this translation helpful? Give feedback.
Answered by
samijaber
Nov 14, 2023
Replies: 1 comment
-
The concept of |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
brandonpittman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The concept of
children
is not the same across all frameworks. Some of them (like Qwik) can't access them outside the render at all. So yeah, it can only be safely used in the template (only to be rendered).