bananaoomarang / isomorphic-redux

Isomorphic Redux demo, with routing and async actions
https://medium.com/@bananaoomarang/handcrafting-an-isomorphic-redux-application-with-love-40ada4468af4
MIT License
455 stars 87 forks source link

Prevent double adding of `needs` property in `fetchComponentData`. #23

Closed Dattaya closed 8 years ago

Dattaya commented 8 years ago

Fixes #20. No guarantee it will work with other wrappers because AFAICS it's react-redux that copies props from the wrapped component into the wrapper, see connect.js .

Dattaya commented 8 years ago

If you want a guarantee that needs property will be available no matter how many wrappers there is, we can add a top level decorator similar to this erikras/react-redux-universal-hot-example#519