Closed schlaus closed 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.
Warning: Failed propType: Required prop todos was not specified in Connect(Home). Check the render method of RoutingContext.
todos
Connect(Home)
RoutingContext
Warning: Failed propType: Required prop dispatch was not specified in Connect(Home). Check the render method of RoutingContext.
dispatch
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...)
propTypes
I immediately ran into the same issue.
I just fixed it and sent pull request.
Just merged this
Thanks for the great tutorial!
However even without any modifications this example is throwing two warnings:
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...)