Skip to content

What is the Syntactically Correct Way To Nest Components? #3750

Closed Answered by mcmah309
mcmah309 asked this question in Q&A
Discussion options

You must be logged in to vote

Found the answer. You need another rsx! {} block inside or use the "magic" children property on for CodeBlock

https://dioxuslabs.com/learn/0.6/reference/component_props#component-children

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by mcmah309
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant