Skip to content

Conversation

lencioni
Copy link
Contributor

@lencioni lencioni commented Feb 4, 2016

In a comment in sort-comp, I noticed the following comment:

NOTE: only works on React.createClass() syntax, not ES6 class.

I thought that it would be really lovely if this worked with ES6
classes, so I decided to take a crack at adding support.

Fixes #27

In a comment in sort-comp, I noticed the following comment: > NOTE: only works on React.createClass() syntax, not ES6 class. I thought that it would be really lovely if this worked with ES6 classes, so I decided to take a crack at adding support. Fixes reactjs#27
@cpojer
Copy link
Member

cpojer commented Feb 4, 2016

Nice work! Thank you so much for your contribution.

cpojer added a commit that referenced this pull request Feb 4, 2016
Add support for ES6 classes in sort-comp
@cpojer cpojer merged commit c07bbb7 into reactjs:master Feb 4, 2016
@lencioni lencioni deleted the sort-comp-es6-class branch February 4, 2016 01:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants