You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What is the new or updated feature that you are suggesting?
In an Express app, the process of getting data from a handler to the client entry is very cumbersome. I have to call getLoadContext to pass the data into a loader, then I can grab it in my client.entry.tsx off of __remixContext.
There should be a better API to do this kind of thing.
This discussion was converted from issue #1029 on April 19, 2022 21:36.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
What is the new or updated feature that you are suggesting?
In an Express app, the process of getting data from a handler to the client entry is very cumbersome. I have to call
getLoadContext
to pass the data into a loader, then I can grab it in my client.entry.tsx off of__remixContext
.There should be a better API to do this kind of thing.
Why should this feature be included?
I wrote a Gist explaining this: https://gist.github.com/smith/c1a6b29d98fdb89052b9790d816520a6
Beta Was this translation helpful? Give feedback.
All reactions