Skip to content

Conversation

bvaughn
Copy link
Contributor

@bvaughn bvaughn commented Apr 14, 2017

Previously the codemod might transform:

const PropTypes = React.PropTypes;

To:

const PropTypes = PropTypes;

I've now added handling for this (and tests)

@bvaughn bvaughn force-pushed the remove-invalid-PropTypes-equals-PropTypes-assignment branch from fe09fbf to 32faeb4 Compare April 14, 2017 16:36
Previously the codemod might transform: const PropTypes = React.PropTypes; To: const PropTypes = PropTypes; I've now added handling for this (and tests)
@bvaughn bvaughn force-pushed the remove-invalid-PropTypes-equals-PropTypes-assignment branch from 32faeb4 to 1e05d28 Compare April 14, 2017 16:39
@bvaughn bvaughn merged commit 8d76974 into reactjs:master Apr 14, 2017
@bvaughn bvaughn deleted the remove-invalid-PropTypes-equals-PropTypes-assignment branch April 14, 2017 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant