Releases: azazdeaz/react-gsap-enhancer
Releases · azazdeaz/react-gsap-enhancer
v0.2.0
- Support React v0.14+ (don't support v0.13 and older React versions)
- Can't use keys to select component anymore. (It was necessary because of some changes in React)
- migration: You can use other props to identify a component. I suggest to add a
name='some-string'
so you can select it liketarget.find({name: 'some-string'})
- migration: You can use other props to identify a component. I suggest to add a
- Animation is renamed to Controller (the object returned from
component.addAnimation(animationSource, options)
) - Controller only exposing a limited set of the GSAP API so you can't edit the animation (ex. with
.to()
or.add()
) trough the Controller but control it. So now the animations can be edited only inside the animation source function. component.removeAnimation(controller)
is deprecated. You can just usecontroller.kill()
to remove an animation.- Added more errors and warnings to make the development easier.
v0.1.16
v0.1.10
fix support for [email protected]
fix wrapping GSAP Animations to return the result of non chainable methods (like animation.paused())
v0.1.9
Support [email protected]