Closed mbifulco closed 4 years ago
Leaving this dependency array out of the useEffect() hook here causes react to slowly eat itself alive - this should make it so that this demo code works out of the box, and responds to changes in height/width/transformations if needed.
useEffect()
Thanks Mike!!
Leaving this dependency array out of the
useEffect()
hook here causes react to slowly eat itself alive - this should make it so that this demo code works out of the box, and responds to changes in height/width/transformations if needed.