Skip to content

v2.0.2

Compare
Choose a tag to compare
@joshwcomeau joshwcomeau released this 12 Apr 02:27
· 243 commits to master since this release

Version 2.0.2

Note: This is the first release in the 2.x series. The version is 2 patches higher than it ought to be, because NPM is a harsh mistress that does not allow mistakes to be corrected.

Enter/Leave Animations

The big news with this release is enter/leave animations. Tons of information about how they work is available in the README. Enjoy!

Breaking Changes

  • Enter/leave animations are enabled by default, which means after upgrading, the items will behave differently. If you don't want enter/leave animations, you can pass false as a prop to enterAnimation and leaveAnimation.
  • disableAnimations has been renamed to disableAllAnimations. The property is still enabled, but a deprecation warning will trigger
  • Maybe more? This was a significant change. While enter/leave animations sound simple, they are in fact incredibly complex; the codebase doubled in size, from ~200 lines of code to 400. There may be weird side effects, as a result.

Please let me know if anyone encounters any issues!

Happy flipping :D