got You cannot render a <Router> inside another <Router>. in SSR #13056
Unanswered
HomyeeKing
asked this question in
Q&A
Replies: 0 comments
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.
-
First of all, it's not a multi version problem and can be reproduced by some tricky way.
It's an internal project so I just show some pseudo code:
@foo
scope (vendor.js
) and the rest of code are inmain.js
vendor.js
You cannot render a <Router> inside another <Router>.
node:util --> @foo/util
andnode:buffer --> @foo/buffer
, after putting both the@foo/util
and@foo/buffer
into cache chunk which isvendor.js
, it worksso I wonder what's does
node:util
andnode:buffer
do inStaticRouter
?Beta Was this translation helpful? Give feedback.
All reactions