How to lazy load children config from a different library? #11787
Unanswered
ravi-kiran-ash
asked this question in
Q&A
Replies: 1 comment
-
In most cases, If that's not enough for you then we just released a new API that lets you take that a step farther: https://reactrouter.com/en/main/routers/create-browser-router#optsunstable_patchroutesonmiss You can read more about this in the blog post: https://remix.run/blog/fog-of-war |
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.
-
Consider this following example where we are importing
externalLibraryRoutes
from a package.Questions:
externalLibraryRoutes
and set thechildren
array?Why?
Because with the following approach, it is increasing bundle main.js in the App.
Beta Was this translation helpful? Give feedback.
All reactions