4 ms·
This looks great, but I still prefer the model of react-motion for most use cases. The main difference between the two is that react-move uses preset durations,
by drcode 10y ago
This looks great, but I still prefer the model of react-motion for most use cases. The main difference between the two is that react-move uses preset durations, whereas react-motion uses a physics model where the durations are dynamic at runtime, directly following from the physics calculations.
react-motion: https://github.com/chenglou/react-motion https://github.com/chenglou/react-motion
- derekperkins 10y agoThey definitely both have their place in the sun. I feel like most of the time, I'm looking for a preset duration, which requires some experimenting in react-motion. The physics are cool, but can be decently imitated with some good easing functions.
- quadrupleslap 10y agoDo you really hate them both that much or did you mean "under the sun"? ;)
- derekperkins 10y agoHahahaha