Replies: 2 comments
-
I'm facing similar issue, did you find any work around? |
Beta Was this translation helpful? Give feedback.
0 replies
-
@lahashmi you have to wrap your app component with BrowserRouter, so you can use the Link component. |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Please see this and the usage -- I know this is a common issue, but I assure you I've done the proper setup (with the provider wrapping the root)
Usage:
In parent project:
Within the Main component, there is another component which does the following:
The parent resides in source/parentProject and the child resides in source/childProject (it is a custom dependency with functional components)
To me, it seems like the BrowserRouter provider is not correctly passing down browser information to that internal child library within that component
Does anyone have any pointers here?
Thanks in advance
Beta Was this translation helpful? Give feedback.
All reactions