Skip to content
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

Redirect not working in react-router-dom v6 #591

Open
krajcikondra opened this issue Oct 5, 2022 · 1 comment
Open

Redirect not working in react-router-dom v6 #591

krajcikondra opened this issue Oct 5, 2022 · 1 comment

Comments

@krajcikondra
Copy link

Hi,

I updated react-router-dom from v5 to v6 and update connected-react-router to v6.9.3 but I found out redirects not working.

import {routerActions} from 'connected-react-router';
dispatch(routerActions.push(url)) 

Url was changed but page not changed.

My react version is 18.2.

Have somebody similar problem?

@TranquilMarmot
Copy link

#397

#590

#543

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants