Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

react-transition-group-without-peer

reactjs28BSD-3-Clause1.0.0

A react component toolset for managing animations

react, transition, addons, transition-group, animation, css, transitions

readme

react-transition-group npm

ATTENTION! To address many issues that have come up over the years, the API in v2 is not backwards compatible with the original React addon (v1-stable).

For a drop-in replacement for react-addons-transition-group and react-addons-css-transition-group, use the v1 release, which is still actively maintained. Documentation and code for that release are available on the v1-stable branch.

You can send pull requests with v1 bugfixes against the v1-stable branch.

A set of components for managing component states (including mounting and unmounting) over time, specifically designed with animation in mind.

Documentation

Examples

Clone the repo first:

git@github.com:reactjs/react-transition-group.git

Then run npm install (or yarn), and finally npm run storybook to start a storybook instance that you can navigate to in your browser to see the examples.

changelog

v2.2.1

2017-09-29

  • Patch: Allow React v16 (#198)

v2.2.0

2017-07-21

  • Feature: Support multiple classes in classNames (#124)
  • Docs: fix broken link (#127)
  • Bugfix: Fix Transition props pass-through (#123)

v2.1.0

2017-07-06

  • Feature: Add back childFactory on <TransitionGroup> (#113)
  • Bugfix: Ensure child specified onExited fires in a <TransitionGroup> (#113)

v2.0.2

2017-07-06

  • Fix documentation npm: No code changes

v2.0.1

2017-07-06

  • Fix documentation on npm: No code changes

v2.0.0

2017-07-06

[v1.2.0]

2017-06-12

  • Feature: Dist build now includes both production and development builds (#64)
  • Feature: PropTypes are now wrapped allowing for lighter weight production builds (#69)

v1.1.3

2017-05-02

  • bonus release, no additions

v1.1.2

2017-05-02

  • Bugfix: Fix refs on children (#39)

v1.1.1

2017-03-16

  • Chore: Add a prebuilt version of the library for jsbin and the like.

v1.1.0

2017-03-16

  • Feature: Support refs on children (#9)
  • Feature: TransitionChild to passes props through (#4)
  • Bugfix: Fix TransitionGroup error on quick toggle of components (#15)
  • Bugfix: Fix to work enter animation with CSSTransitionGroup (#13)