Passing a custom object from middleware to the client #1117
Unanswered
AstroSquared
asked this question in
Q&A
Replies: 0 comments
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.
-
Here's some middleware in my
entry-server.tsx:How would I pass the
userobject from the middleware above onto the client, so that in myroot.tsxfile I can access the object?Beta Was this translation helpful? Give feedback.
All reactions