Replies: 1 comment 3 replies
-
The getLoadContext can't live in entry.server as entry.server is part of the Remix app but getLoadContext is an HTTP server adapter feature to let the HTTP server inject values into the Remix app, so the only way to leverage it is by using a custom HTTP server. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
remix dev
is great.getLoadContext
is great. I wish I could add context properties without having to run my own express server, which removes from the benefits of the default express server that comes withremix dev
:( (relevant lines)I'd love for a way to plug into
getLoadContext
inentry.server.ts
Beta Was this translation helpful? Give feedback.
All reactions