You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if it's an issue or a non documented behaviour (or I didn't found it). With shallow when we return null from an updater function, React prevent the render. But Enzyme don't.
There is no issue with mount.
Expected behavior
Enzyme should prevent the render when we return null from an updater function.
Current behavior
Not sure if it's an issue or a non documented behaviour (or I didn't found it). With
shallow
when we returnnull
from an updater function, React prevent the render. But Enzyme don't.There is no issue with
mount
.Expected behavior
Enzyme should prevent the render when we return
null
from an updater function.Your environment
Here is an example.
API
Version
^3.3.0
^16.3.2
Adapter
The text was updated successfully, but these errors were encountered: