erikras / erikras/react-redux-universal-hot-example
Stop page transition after API call in fetchData
Open
- Dominant language
- JavaScript
- Stars
- 12.1k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
@erikras Hi I am on Home page from there i go to Widget page there i use fetchData to make API call. When i get the data from the API than I reject the promise and the FAIL action is called, but after that also it routes to the Widget page.
So i want to know how to stop it from going to Widget page if the promise is rejected. Please any help would be useful.
Contributor guide
Assessment
This issue has not been assessed yet.