Replies: 1 comment
-
I solved my issue. |
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
-
I'm trying to make an app that works in Cloudflare pages, and it needs to access data in the context. I'm using an
entry.server.tsx
which seems like the one everyone is using out there:`entry.server.tsx`
I'm also using
cloudflareDevProxy
for the dev server andcreatePagesFunctionHandler
for the pages function. It looks just like what other people are doing out there, e.g:However, in my loader function the
context
is undefined, both in the dev server and when running through wrangler. Also, I can't see how the context is passed to the routes inentry.server.tsx
if the parameter is not used, and looking at the react-router source code also seems to indicate it is not passed.Two questions:
Beta Was this translation helpful? Give feedback.
All reactions