Use Web Animations Versions Save

😎 🍿 React hook for highly-performant and manipulable animations using Web Animations API.

v0.9.1

2 years ago
  • fix: onFinish event not working properly (#475)
  • refactor: enhance the type of playState (#474)

v0.9.0

2 years ago
  • Refactor: the keyframes and animationOptions are cached when the hook is mounted, use the [animation] method to set/update the animation instead.
  • Refactor: deprecate the shouldUpdateAnimation option due to the above change.
  • Refactor: refine types.
  • Docs: add Working in TypeScript doc.

v0.8.0

2 years ago
  • Feat: add new shouldUpdateAnimation option, see API to learn more.
  • Refactor(types): change the type of keyframes option from optional to required.

v0.7.4

2 years ago
  • Refactor(types): remove readonly from event properties (#445)

v0.7.3

2 years ago
  • Refactor(types): enhance the types of event properties (#444)

v0.7.2

2 years ago
  • Refactor(types): export more types to fulfill your use cases (#441)

v0.7.1

2 years ago
  • Fix: cancel animation when component unmounted (#437)

v0.7.0

3 years ago

💥 Breaking Changes

  • Rename the timing option as animationOptions for better meaningful. See basic usage to learn more.
  • Support pseudoElement via the animationOptions option. See basic usage to learn more.

v0.6.1

3 years ago
  • Fix: exports pre-defined animation effects (#255)

v0.6.0

3 years ago

💥 BREAKING CHANGE