Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants