CompatRoute
doesn't render at all
#11351
Unanswered
RedHatter
asked this question in
v5 to v6 Migration
Replies: 1 comment
-
Looks like changing the <CompatRoute path="/about" component={About} /> Results: Important Don't forget to visit the |
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.
-
I'm trying to use
react-router-dom-v5-compat
to upgrade from v5 to v6 however I can't get anyCompatRoute
to render. Below I've included the simplest usage ofCompatRoute
trying to narrow down the problem.The about route above does not render. Am I missing something? I have looked over the docs, migration guide, and everything else I could find but I don't see any reason this shouldn't work.
sandbox link
Beta Was this translation helpful? Give feedback.
All reactions