useMatches v5 compatibility support #11932
Unanswered
msrose
asked this question in
v5 to v6 Migration
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.
-
I'm trying to use
useMatches
https://reactrouter.com/en/main/hooks/use-matches from v6 with the v5 compatibility layer as follows, with BrowserRouter from v5 and CompatRouter from the v5 compat library:Seeing the following error:
Am I missing something? Is useMatches supported by the compatibility layer? Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions