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

Port Compare page to the useEffect hook #363

Open
kumar303 opened this issue Mar 8, 2019 · 3 comments
Open

Port Compare page to the useEffect hook #363

kumar303 opened this issue Mar 8, 2019 · 3 comments

Comments

@kumar303
Copy link
Contributor

kumar303 commented Mar 8, 2019

The Compare page grew some gnarly load/update logic in #342

This component can be ported to useEffect which will simplify the loading logic and let us delete a bunch of the tests.

┆Issue is synchronized with this Jira Task

@willdurand
Copy link
Member

This could be done together with #111.

@willdurand
Copy link
Member

I guess this is blocked by upstream for now because Enzyme (shallow) does not support Hooks: enzymejs/enzyme#2011.

@kumar303
Copy link
Contributor Author

If we only want useEffect, we might only need to wait on facebook/react#15275

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

No branches or pull requests

2 participants