How to configure react-router to use the production build? #10640
Unanswered
david-szabo97
asked this question in
Q&A
Replies: 1 comment
-
|
Pretty sure there is indeed a performance hit: https://discord.com/channels/770287896669978684/770287896669978687/threads/1438582197513748660 I am troubleshooting it in this thread. The closest workaround I have found so far is to override at the resolver level: |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Since remix-run/react-router#12437 it's impossible to do a production build which uses
react-router/dist/production. The PR is 6 months old and it doesn't state any alternative on how to do a production build.Since every
react-routerbuild is a development build, we are bombarded withNo route matches URLerrors in our logs. And I also wonder if there is any performance hit caused by using a development build.Beta Was this translation helpful? Give feedback.
All reactions