Enzyme: Deprecate use with React 0.13

Created on 19 Oct 2016  路  3Comments  路  Source: enzymejs/enzyme

Curious on the other maintainers thoughts on deprecating use of this library with React 0.13 moving forward. Of course the previous versions are still usable. But it seems that the conditional requirement of test-utils causes plenty of confusion.

Deprecating 0.13 would allow us to clean up some code, and reduce confusion.

Thoughts?

cc @Aweary, @nfcampos, @ljharb, @lelandrichardson

Most helpful comment

I prefer to support the latest major, plus the previous 2. When v16 comes out, I'd be happy to immediately ship a breaking change that drops support for 0.13.

That said, "deprecation" is not breaking, and I think it's reasonably to support N, N-1, and N-2, but to have N - 2 be officially deprecated.

All 3 comments

I prefer to support the latest major, plus the previous 2. When v16 comes out, I'd be happy to immediately ship a breaking change that drops support for 0.13.

That said, "deprecation" is not breaking, and I think it's reasonably to support N, N-1, and N-2, but to have N - 2 be officially deprecated.

@blainekasten yep removing support for 0.13 would remove most (all?) of the conditional requires, which would be great to reduce confusion. would it actually remove all of them?

Now that enzyme v3 is out, and the 0.13 stuff is in its own adapter, there's not really a reason to ever drop support for it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nelsonchen90 picture nelsonchen90  路  3Comments

abe903 picture abe903  路  3Comments

aweary picture aweary  路  3Comments

AdamYahid picture AdamYahid  路  3Comments

mgenov picture mgenov  路  3Comments