Skip to content

Conversation

Calyhre
Copy link
Contributor

@Calyhre Calyhre commented Apr 8, 2017

Migrate React.PropTypes to PropTypes from the prop-types package, regarding the latest react version -> https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes

react-router-redux and react-router-website are still raising this warning, until the dependencies are fixed too.
For redux, the PR is here: reduxjs/react-redux#663

I also updated eslint for the main package in order to took advantage of the new no-unuser-vars option, ignorerestsiblings, and allow the omit pattern used like here: https://github.com/Calyhre/react-router/blob/master/packages/react-router/modules/StaticRouter.js#L114

@yasserkaddour
Copy link
Contributor

I did a similar PR in #4933 😅

@Calyhre
Copy link
Contributor Author

Calyhre commented Apr 8, 2017

Oh. It wasn't there when I started :D Well done!
I'm gonna re-open another one for the lint issues then.

@Calyhre Calyhre closed this Apr 8, 2017
@yasserkaddour
Copy link
Contributor

yasserkaddour commented Apr 8, 2017

¯\_(ツ)_/¯

@lock lock bot locked as resolved and limited conversation to collaborators Jan 18, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants