erikras / erikras/react-redux-universal-hot-example

fetchDataDeferred doesn't trigger componentWillReceiveProps

Open
#803 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
12.1k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

I have a few routes, each with a `fetchDataDeferred`.
- If I simply arrive at the route, everything looks fine
- If I navigate to the route from another route, it triggers all the correct actions, including the SUCCESS one, but doesn't trigger any new props on the component
- If I ditch `fetchDataDeferred` in favor of `fetchData`, everything works correctly (while of course, blocking the route transition until the loading is finished)
- If I navigate away from the route and come back a _second time_ the loaded data now shows, as it is mounted with it already in place

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.