Enzyme v3.4.3 Release Notes
-
🛠 Fixes
- @ljharb/@koba04:
shallow
:.setState()
: stub outsetState
on non-root code paths as well (#1763) - ⏪ @ljharb:
shallow
/mount
: restore fallback when adapter lacksinvokeSetStateCallback
(commit) - @ljharb:
mount
:setState
: invoke callback with the proper receiver (commit) - @ljharb:
mount
:state
andsetState
should throw an explicit error message when called on an SFC (commit)
- @ljharb/@koba04: