Skip to content
Discussion options

You must be logged in to vote

You're using {props.children} to render in the "spot", but you should use <Outlet /> instead. You can read about it on the docs:

It's unfortunate that the Routing doc page you're referencing is missing <Outlet /> and other important images (it seems). I hope the page will get revised soon! cc @kentcdodds

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@kentcdodds
Comment options

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