jlkiri / react-easy-flip

⚛ A React library for smooth FLIP animations. Easily animate originally unanimatable properties like DOM positions with one hook.
249 stars 6 forks source link

Use WAAPI for core animation logic #13

Closed jlkiri closed 4 years ago

jlkiri commented 4 years ago

Web Animations API is well supported in all modern browsers now. Manipulating transforms and transitions directly with Javascript is a pain and more complex functionality will lead to more hacks which we want to avoid. This is a rewrite of the logic that uses WAAPI animate function.

Along with slight (but breaking) API improvements this will be released as 4.0.