Can someone please help on this | Remix Routing #2062
-
Hi, I'm new to Remix and trying to learn. https://remix.run/docs/en/v1/guides/routing I am trying with this like but it is not helping for my scenario.
Discord - https://discord.com/channels/770287896669978684/771068344320786452/944695061621387276 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You're using
It's unfortunate that the Routing doc page you're referencing is missing |
Beta Was this translation helpful? Give feedback.
You're using
{props.children}
to render in the "spot", but you should use<Outlet />
instead. You can read about it on the docs:<Outlet />
itself: In the docs of React Router, which Remix internally uses https://remix.run/docs/en/v1/other-api/react-routerIt'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