3 ms·
Depends. Animation tends to be about transitions, so you want to transition between elements. For that you need to handle the virtual DOM. Twitter's Velocity [
by lobster_johnson 11y ago
Depends. Animation tends to be about transitions, so you want to transition between elements. For that you need to handle the virtual DOM.
Twitter's Velocity [1] wrapper is an example of something that works like this, though the authors admit their solution is not idiomatic React.
[1] https://github.com/twitter-fabric/velocity-react#readme https://github.com/twitter-fabric/velocity-react#readme