Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating from React.PropTypes #48

Merged
merged 1 commit into from
Aug 11, 2017
Merged

Migrating from React.PropTypes #48

merged 1 commit into from
Aug 11, 2017

Conversation

mayaa6
Copy link
Contributor

@mayaa6 mayaa6 commented Jul 10, 2017

see FB

In 15.5, instead of accessing PropTypes from the main React object, install the prop-types package and import them from there:

see [FB](https://facebook.github.io/react/blog/2017/04/07/react-v15.5.0.html#migrating-from-react.proptypes)
> In 15.5, instead of accessing PropTypes from the main React object, install the prop-types package and import them from there:
@nkarman
Copy link

nkarman commented Aug 5, 2017

@jeanpan This looks necessary, It would be great if this could get accepted!

@fhadsheikh
Copy link

+1

@jeanpan
Copy link
Owner

jeanpan commented Aug 11, 2017

@mayaa6 looks good ! thanks !

@jeanpan jeanpan merged commit 7baff02 into jeanpan:master Aug 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants