Releases: jcblw/react-sprite-animator
Releases · jcblw/react-sprite-animator
Release v2.0.2
New hook based api.
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.