Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
[WIP] Support React hooks `useState` #2008
This PR adds support for [basic hooks API] (https://reactjs.org/docs/hooks-reference.html#basic-hooks) (
I've added some test cases for
(Updated: Created a checklist in #2011 to try to track any issue / PR in hooks, and concentrate on support
referenced this pull request
Feb 8, 2019
I just upgraded to React v16.8.1 and I started having these warnings when testing a Hooks based component.
Is this something that should be handled by enzyme? I didn't have these warnings when I was at the Hooks alphas
Thx for the quick answer @ljharb ... I wish I could get rid of the warnings ...
Right now I'm trying to use
Just for the record, I'm not actually testing the hooks. My component