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

Animation repeating when I set something in useState hook #388

Open
mayran-aragao opened this issue Nov 1, 2021 · 1 comment
Open

Animation repeating when I set something in useState hook #388

mayran-aragao opened this issue Nov 1, 2021 · 1 comment

Comments

@mayran-aragao
Copy link

Everytime I set some value to any hook in the screen that I have some animations, the animation repeat. there's a way to avoid this?

@maazalam45
Copy link

i think you have used your hook in useEffect like useEffect(( )=>{ } ,["YOURHOOK"])
this causes Screen refresh i think

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

No branches or pull requests

2 participants