Replies: 1 comment
-
Can anyone help on this? |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Hi all,
I am using rr v7.8.0 middleware enabled and
export const customAppLoadContext = unstable_createContext<AppLoadContext>();
and my requestHandler iscreateRequestHandler({ build: () => import("virtual:react-router/server-build"), getLoadContext: () => { const context = new unstable_RouterContextProvider(); context.set(customAppLoadContext, loadContext); return context; }, mode: process.env.NODE_ENV, }),
, but on dev mode while hot reloading I am getting the Unexpected Server ErrorError: No value found for context. Why is this happening? Is there a solution for that?
Thanks.
Beta Was this translation helpful? Give feedback.
All reactions