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.