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

Failed propTypes #41

Closed schlaus closed 8 years ago

schlaus commented 8 years ago

Thanks for the great tutorial!

However even without any modifications this example is throwing two warnings:

Warning: Failed propType: Required prop todos was not specified in Connect(Home). Check the render method of RoutingContext.

Warning: Failed propType: Required prop dispatch was not specified in Connect(Home). Check the render method of RoutingContext.

Could someone enlighten a React noob as to how to fix it? (besides removing the propTypes definition, which is the best I could come up with...)

jaydenseric commented 8 years ago

I immediately ran into the same issue.

chungchiehlun commented 8 years ago

I just fixed it and sent pull request.

bananaoomarang commented 8 years ago

Just merged this