-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'pathname'). problem when I click other Link from the page #70
Comments
@JavierBeni please che you provide a code sandbox demo? |
@salvoravida ok, I will try to reproduce it. but its a big project, so I don't know if I would can. Anyway, did you see this bug before? |
No. The most probable thing is that there is a bug in your code, but without a code sandbox it's not possible to help you. |
Cannot provide help without a sample code. Please feel free to reopen the issue as you post a code sandbox example. |
ok. thanks by your time. |
Hi. I write the comment for other people can see it if they have same problem. Regards and thanks! fyi @salvoravida |
Oh great!. Generally, you do not have to add the history package, as it is a dep of react-router react-router v5 install history v4 |
@JavierBeni thanks you saved me. |
Hello.
I am using this library, and I have problem with it.
I am using it with react-route v6.
the version of this library is 5.0.8
I have same config than in the example, but when I change between webpages, i see this:
my store is:
The router is like:
And inside the routes:
I am think I am skiping something easy and short. but I cannot fin it.
This is happening when I am updating to v6 of react and also this library to last version.
After error, if I reaload the page, page works.
Also, I am looking in the redux, the state of path doesnt change. Before yes.
Thanks for your time.
Kind regards.
The text was updated successfully, but these errors were encountered: