Releases: wellyshen/use-web-animations
Releases · wellyshen/use-web-animations
v0.9.1
v0.9.0
- Refactor: the
keyframes
andanimationOptions
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
v0.7.4
v0.7.3
v0.7.2
v0.7.1
v0.7.0
💥 Breaking Changes
- Rename the
timing
option asanimationOptions
for better meaningful. See basic usage to learn more. - Support pseudoElement via the
animationOptions
option. See basic usage to learn more.
v0.6.1
v0.6.0
💥 BREAKING CHANGE
- Most modern browsers support Web Animations API, so this library doesn't built-in it for you anymore. Please install the polyfill at app-level if needed.