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

Upgrade to 16.8 and remove use-hooks #984

Closed

Conversation

NavyAdmiral
Copy link
Contributor

@rupurt this is in response to #978
types were set to 16.8 and lockfile was 16.7; use-hooks is no longer needed either

@rupurt
Copy link
Contributor

rupurt commented Feb 16, 2019

🍻 it looks like there's a few failing tests atm

@rupurt
Copy link
Contributor

rupurt commented Feb 17, 2019

@NavyAdmiral I messed around with the PR locally and it seems like the problem is that useEffect is not getting executed in Jest. I tried out the mock approach recommended in here but haven't been able to get it to work yet.

It looks like we may need to wait for enzyme support enzymejs/enzyme#2011

@NavyAdmiral
Copy link
Contributor Author

NavyAdmiral commented Feb 17, 2019

Ive read about it too and it useLayoutEffect was mentioned as a workaround. Simple replacement didnt work and I didnt get to try anything else out yet

@NavyAdmiral
Copy link
Contributor Author

Support for this will be added to enzyme soon. Until then, there is no purpose to this PR.

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

Successfully merging this pull request may close these issues.

2 participants