-
I have a scenario that I can't seem to find a great solution for when using |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can create a layout route and put the catch boundary and error boundary there, then in the root return the authenticated user data and render the header there or only return the user data and call useMatches from the catch/error boundaries to get the route data and render the header. |
Beta Was this translation helpful? Give feedback.
You can create a layout route and put the catch boundary and error boundary there, then in the root return the authenticated user data and render the header there or only return the user data and call useMatches from the catch/error boundaries to get the route data and render the header.