How Reusing layouts in React Router v6.4.4 ? #9673
Unanswered
li-jia-nan
asked this question in
Q&A
Replies: 1 comment 1 reply
-
That's also a thing that I tried to solve by myself but haven't found a good solution so far. I think there where plans to support multiple parallel outlets. Something other I could image is using contexts that place headers and footers at the wanted location. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In a React Router application it's very common to want to render a default set of components on every route, such as a header and footer, bug I don't know how to use it with
<RouterProvider router={createBrowserRouter(routes)} />
.Please give me some guidance, thanks !
Beta Was this translation helpful? Give feedback.
All reactions