faceyspacey/react-universal-component

isLoading from redux bug

ease-space opened this issue · 3 comments

isLoading from redux bug causes looping of the render component in v4.0.0
default

Any other debugging info?

Yes. Clone this project https://gitlab.com/yura1994hd/middle/tree/bug_react-universal-coponent. Checout on bug_react-universal-coponent and npm run start:dev:local. After run uncomment code \src\containers\Routes\index.js and reload page http://localhost/basket
default

It seems I found the reason. What seems to me to be the fault of the react-router

Good work:
<Route exact path={constants.PATCH_URL_BASKET} component={Basket} />
Looping:
<Route exact path={constants.PATCH_URL_BASKET} component={props => <Basket {...props} />} />