MCPcopy Create free account
hub / github.com/code-forge-io/react-router-devtools / getLoadContext

Function getLoadContext

test-apps/custom-server/server/app.ts:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14 createRequestHandler({
15 build: () => import("virtual:react-router/server-build"),
16 getLoadContext() {
17 return {
18 VALUE_FROM_EXPRESS: "Hello from Express",
19 };
20 },
21 }),
22);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…