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

Replace React.propTypes with PropTypes from prop-types #103

Merged
merged 1 commit into from
Apr 7, 2017

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Apr 7, 2017

This goes with the upcoming React 15.5 release.

Caveats

This codemod may introduce an unnecessary newline before certain types of imports. This is not a problem with the codemod but with recast. See facebook/jscodeshift/issues/185 and benjamn/recast/issues/371

@bvaughn bvaughn force-pushed the React-propTypes-to-prop-types branch from 2b60488 to d8bc383 Compare April 7, 2017 20:07
@acdlite acdlite merged commit d675507 into reactjs:master Apr 7, 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.

2 participants