Does the compat package support declaritively nested routes? #8795
Unanswered
ripdog
asked this question in
v5 to v6 Migration
Replies: 1 comment
-
CompatRoute uses the component prop. RR V6 Route has the element prop. Change to: <CompatRoute path={"/store-owner"} component={StoreOwnerRoot}> |
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.
-
Hi there,
For me, the biggest feature of v6 is the ability to nest routes in a single file, as opposed to spread out in different components. I've tried to do this with the compat package, but I'm getting a blank screen and no errors when I navigate to
/store-owner
:StoreOwnerRoot
does have anOutlet
element.Beta Was this translation helpful? Give feedback.
All reactions