Replies: 2 comments 6 replies
-
Here’s a tip. When you are suggesting changes it’s always helpful to include your usecase. Ryan responds better to actual needs vs “what-ifs”. It helps them to come up with a good design vs just haphazardly adding extensibility points. |
Beta Was this translation helpful? Give feedback.
1 reply
-
How do you want to access the data initialized there? |
Beta Was this translation helpful? Give feedback.
5 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Support an API "hook" that runs very early when loading the
remix.config.js
. You can currently hack it with routes as that supports async but would be better to support a more idiomatic api.Example:
Motivation: I need to create localized text labels that would be generated at "build time", so the same app could be translated in English, Spanish, etc. This would be done within the
initialize
function, fetching the translations, building a file and then the app code would reference that generated fileBeta Was this translation helpful? Give feedback.
All reactions