Migrating Nested Switches #8949
Unanswered
indeediansbrett
asked this question in
v5 to v6 Migration
Replies: 1 comment
-
This is the best have come up with for the nested component, but don't like it. This is so it's compatible with both v5 Switches above and v6 Routes above:
|
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.
-
How would one migrate nested switches incrementally? Have a case where one package needs to update, but higher up in the tree there is another package using that package that cannot upgrade yet. So for an example, something like below. How do I adjust the nested component with the compatibility layer for React v6 with the higher up component?
Higher up:
NestedRouteComponent:
NestedRouteComponent should be like:
Beta Was this translation helpful? Give feedback.
All reactions