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
-
Here's some middleware in my
entry-server.tsx
:How would I pass the
user
object from the middleware above onto the client, so that in myroot.tsx
file I can access the object?Beta Was this translation helpful? Give feedback.
All reactions