react-gsap-enhancer v0.2.0 Release Notes

Release Date: 2015-11-26 // over 8 years ago
    • 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 like target.find({name: 'some-string'})
    • 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 use controller.kill() to remove an animation.
    • ➕ Added more errors and warnings to make the development easier.

Previous changes from v0.1.16

    • 🛠 do fixes
    • ➕ add more tests
    • 💅 polish readme