-
Hey all, I was trying to render 2 examples in a page and found that they are not working together. Go to the page and click the first animation. https://codesandbox.io/s/weathered-surf-shdc7?file=/src/index.js you get to see the loop being executed without waiting for the animation to be fished. How can I make this work? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
zirho
Nov 1, 2020
Replies: 1 comment
-
I found the solution by memoizing the component.
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
zirho
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found the solution by memoizing the component.