Skip to content

Conversation

@mute
Copy link

@mute mute commented Apr 21, 2017

Fixes #134 but not in a totally ideal way.


// Add back any nested destructured children.
if (nestedPropTypesChildren) {
// TODO: This shouldn't just use a template string but the `ast-types` docs were too opaque for me to follow.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the spot that could use some updating from someone with jscodeshift experience.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those docs are a bit rough, huh.

Copy link
Contributor

@bvaughn bvaughn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing!

This looks fine to me. The TODO can be addressed at some point in the future maybe. Doesn't feel super pressing.


// Add back any nested destructured children.
if (nestedPropTypesChildren) {
// TODO: This shouldn't just use a template string but the `ast-types` docs were too opaque for me to follow.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Those docs are a bit rough, huh.

@bvaughn bvaughn merged commit d6563d9 into reactjs:master Apr 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants