react-universal-component icon indicating copy to clipboard operation
react-universal-component copied to clipboard

isLoading from redux bug

Open ease-space opened this issue 6 years ago • 3 comments

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

ease-space avatar Mar 03 '19 19:03 ease-space

Any other debugging info?

ScriptedAlchemy avatar Mar 04 '19 02:03 ScriptedAlchemy

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

ease-space avatar Mar 04 '19 10:03 ease-space

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} />} />

ease-space avatar Mar 04 '19 19:03 ease-space