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

Breaking: lifecycleExperimental by default #1140

Merged

Conversation

koba04
Copy link
Contributor

@koba04 koba04 commented Sep 23, 2017

There is a discussion in #678 about this.
If enzyme chooses this option, the time has come.

I think this PR needs more works, which are tests and documentation.
Does enzyme enable lifecyleExperimental by default at v3?

Copy link
Member

@ljharb ljharb left a comment

Choose a reason for hiding this comment

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

This LGTM - please rebase, and we can get this in for v3.

@koba04
Copy link
Contributor Author

koba04 commented Sep 26, 2017

I'm working on rebasing and fixing a test.

@lelandrichardson lelandrichardson force-pushed the lifecycle-experimental-as-default branch from e8296d7 to 9930f3e Compare September 26, 2017 05:22
@lelandrichardson lelandrichardson force-pushed the lifecycle-experimental-as-default branch from 89f3322 to bb4c6b6 Compare September 26, 2017 05:30
@lelandrichardson lelandrichardson merged commit d024934 into enzymejs:master Sep 26, 2017
@koba04
Copy link
Contributor Author

koba04 commented Sep 26, 2017

Thanks!

@koba04 koba04 deleted the lifecycle-experimental-as-default branch September 26, 2017 05:46
constructor(nodes, root, options = {}) {
validateOptions(options);
constructor(nodes, root, passedOptions = {}) {
validateOptions(passedOptions);
Copy link
Member

Choose a reason for hiding this comment

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

How come ReactWrapper doesn't validate its options?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants