logoalt Hacker News

sesm01/21/20250 repliesview on HN

In React animations shouldn't run through reconciler, variables for JS animation should use `refs` which are mutable variables outside of React state. React supported `refs` for cases like this long before hooks were introduced.