Skip to content

Releases: jcblw/react-sprite-animator

Release v2.0.2

19 Sep 01:43
Compare
Choose a tag to compare

🐛 Fix frame prop on useSprite hook (#247)

New hook based api.

28 Jun 21:45
Compare
Choose a tag to compare

Hooks are a great way to share behavior between components, and since a number of animation libraries are switching over this interface it was time this library got some updates and switched over as well. While doing this there was also quite a few new updates and slight import changes. Here is what is inside the release:

  • New useSprite interface.
  • Now exports named exports import { useSprite, SpriteAnimator } from 'react-sprite-animator'
  • Changes testing from 'tape' to jest for more react support.
  • Add a different approach to testing. More integration testing!!
  • Change dependency management to yarn
  • Use Github action over TravisCI.