erikras / react-redux-universal-hot-example

A starter boilerplate for a universal webapp using express, react, redux, webpack, and react-transform
MIT License
12.01k stars 2.5k forks source link

React 15.3.0... React.PropTypes validation function for the `path` prop on `Route` error? #1246

Open sauravskumar opened 7 years ago

sauravskumar commented 7 years ago

Lately seeing this issue with react 15.3.0 ... any idea how to fix this in the starter kit? You are manually calling a React.PropTypes validation function for thepathprop onRoute. This is deprecated and will not work in the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.

bosoxbill commented 7 years ago

updating react-router worked for me.

wikieswan commented 7 years ago

I update react-router from 2.0.0 to 2.6.0 ,and it is ok now