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

How to use this with async hooks #12

Open
realph opened this issue Feb 6, 2020 · 1 comment
Open

How to use this with async hooks #12

realph opened this issue Feb 6, 2020 · 1 comment

Comments

@realph
Copy link

realph commented Feb 6, 2020

How do I use react-palette with async hooks? I keep getting this error:

Warning: Can't perform a React state update on an unmounted component. This
is a no-op, but it indicates a memory leak in your application. 
To fix, cancel all subscriptions and asynchronous tasks in
a useEffect cleanup function.
@talena6
Copy link

talena6 commented Aug 24, 2020

@realph were you able to solve this? I am having the same issue.

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

3 participants