question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Push action not working properly

See original GitHub issue

Package version: connected-react-router@6.3.1 I have: <Route path="/" component={HomePage} exact />

In saga I do push("/") and the location is changed but HomePage is not rendered. When I change in react-devtools exact on the Route to false, HomePage is rendered.

Downgrading to connected-react-router@6.0.0 helped me to solve the problem.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:33
  • Comments:37

github_iconTop GitHub Comments

29reactions
peterdeecommented, Oct 28, 2019

In case someone faces this issue…

I had an issue with redirects: I was not redirected to the destination page when using push:

yield put(push('/login'));

I was using both react-router-dom wrap (<Router>) and connected-react-router wrap ( <ConnectedRouter history={history}>).

Removing the <Router> wrap helped, and everything is working as expected.

4reactions
JulienMelissascommented, May 10, 2019

Wow, was pulling my hair out over this one for a few hours. I’m using:

"connected-react-router": "^6.3.1",
"react-router-dom": "^5.0.0",

And all is working now, from what I can tell.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Push not triggering workflow · Issue #32 - GitHub
The thing is that I am using this action here inside master's workflow to push some changes to "branch2". The push is working...
Read more >
Git push action is not working when pushing from git action ...
When I push to develop the develop action works perfectly and does a snapshot release, but when master branch pushes, push is successful...
Read more >
Web Push Troubleshooting - OneSignal Documentation
Go to your website with the OneSignal code active. · Open the browser's Developer Tools Console with F12, or right-click the browser and...
Read more >
Example workflows - Docker Documentation
This page showcases different examples of how you can customize and use the Docker GitHub Actions in your CI pipelines. Push to multi-registries...
Read more >
Troubleshooting Duo Push notification issues on Android ...
Closing or force quitting the app and reopening it will also fetch the notification. Check your connection: Further, you should verify that you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found