Skip to content

Conversation

zpao
Copy link
Member

@zpao zpao commented Oct 21, 2015

No description provided.

@cpojer
Copy link
Member

cpojer commented Oct 21, 2015

class-test2 seems broken to me, see https://github.com/reactjs/react-codemod/blob/master/test/__tests__/transform-tests.js#L57 which should not add the super class. Seems like something is wrong in class.js that I probably broke at some point. You mind removing those changes? I can look into them soon-ish.

@zpao
Copy link
Member Author

zpao commented Oct 21, 2015

While we don't completely require that you extend React.Component yet, we're going to. So I think that's right.

@cpojer
Copy link
Member

cpojer commented Oct 21, 2015

Right, so in that case we should remove the option to not extend React.Component from class.js and also remove this test?

@zpao
Copy link
Member Author

zpao commented Oct 21, 2015

Ah gotcha, didn't realize it was an option, just thought we changed code without updating the test. I'll remove those changes.

We set that as the default option for printing but didn't update the tests.
cpojer added a commit that referenced this pull request Oct 21, 2015
@cpojer cpojer merged commit 32f900c into reactjs:master Oct 21, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants