Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # 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

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

No branches or pull requests

2 participants