yarn react-flip-move 2.0.2
v2.0.2

latest releases: 3.0.5, 3.0.4, 3.0.3...
8 years ago

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

Don't miss a new react-flip-move release

NewReleases is sending notifications on new releases.