Closed fritz-c closed 1 year ago
In my last iteration I tried to make it a bit more imperative than reactive, in order to avoid useEffect and its dependency juggling act wherever I could. The animationDistance calculation in carousel.tsx was the result of that.
useEffect
animationDistance
carousel.tsx
The latest updates on your projects. Learn more about Vercel for Git ↗︎
In my last iteration I tried to make it a bit more imperative than reactive, in order to avoid
useEffect
and its dependency juggling act wherever I could. TheanimationDistance
calculation incarousel.tsx
was the result of that.