serverContext is empty
i have a very simple setup in src/start.ts:
however when i try accessing the
serverContext in beforeLoad in my root route, i get an empty object (see attached screenshot), despite the serverContext being correctly typed
is this a bug or am i doing something wrong? p.s. im using solid
2 Replies
correct-apricotOP•2mo ago
i guess this is related
https://github.com/TanStack/router/issues/5371
GitHub
The behavior of types and the actual object for context does not ma...
Which project does this relate to? Start Describe the bug Passing context from fetch and also from requestMiddleware, __root.tsx's beforeLoad and loader has the expected types but when dumping ...
broad-brown•2mo ago
yes that's a bug. will be fixed soon