NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #691 most downloaded on npm
A react component toolset for managing animations
Last release 4 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.2 years
Nearly every release is documented
notes for 38 of 40 stable releases
1 version withdrawn
withdrawn after publishing
10 years old
44 releases · first in 2016
apply entering animation synchronously when unmountOnExit or mountOnEnter is enabled
One column per quarter.
enter animations with mountOnEnter or unmountOnExit
nodeRef prop type for cross-realm elements
4.4.1 (2020-05-06) Bug Fixes transition SSR
nodeRef alternative instead of internal findDOMNode (#559) (85016bf)
react-transition-group internally uses findDOMNode, which is deprecated and produces warnings in Strict Mode, so now you can optionally pass nodeRef to Transition and CSSTransition, it's a ref object that should point to the transitioning child:
import React from "react"
import { CSSTransition } from "react-transition-group"
const MyComponent = () => {
const nodeRef = React.useRef(null)
return (
<CSSTransition nodeRef={nodeRef} in timeout={200} classNames="fade">
<div ref={nodeRef}>Fade</div>
</CSSTransition>
)
}
Transition to match the exported ones (#554)react-transition-group internally uses findDOMNode , which is deprecated and produces warnings in Strict Mode , so now you can optionally pass nodeRef…
nodeRef alternative instead of internal findDOMNode (#559) (85016bf)
react-transition-group internally uses findDOMNode, which is deprecated and produces warnings in Strict Mode, so now you can optionally pass nodeRef to Transition and CSSTransition, it's a ref object that should point to the transitioning child:
import React from "react"
import { CSSTransition } from "react-transition-group"
const MyComponent = () => {
const nodeRef = React.useRef(null)
return (
<CSSTransition nodeRef={nodeRef} in timeout={200} classNames="fade">
<div ref={nodeRef}>Fade</div>
</CSSTransition>
)
}Transition to match the exported ones (#554)4.3.0 (2019-09-05) Features upgrade dom-helpers
Fix imports to play nicely with rollup
updated SwitchTransition component to be default export and exported from index.js
4.2.0 (2019-06-28) Features add SwitchTransition component
adds missing dependency @babel/runtime
add global transition disable switch
issue with dynamically applied classes not being properly removed for reentering items
.default after require() when resolving to the esm build// package.json
-"react": "^15.0.0",
+"react": "^16.6.0",
-"react-dom": "^15.0.0",
+"react-dom": "^16.6.0",
support esm via package.json routes (#488) (6337bf5), closes #77
use stable context API (#471) (aee4901), closes #429
add support for empty classNames
revert tree-shaking support because it was a breaking change
# 2.7.0 (2019-03-22) ### Features * support ESM (tree-shaking)
Transition: make exit key optional when passing an object to the timeout prop
# 2.6.0 (2019-02-26) ### Features * add appear timeout
strip custom prop-types in production
pass appear to CSSTransition callbacks (#441) (df7adb4), closes #143
prevent calling setState in TransitionGroup if it has been unmounted
<a name="2.3.1"></a>
update build and package dependencies
remove deprecated lifecycle hooks and polyfill for older react versions
deps: Move loose-envify and semantic-release to devDependencies
Added *-done classes to CSS Transition ([#269])
Nothing published for this version
Patch: Allow React v16 ([#198])
2017-09-29
Feature: Support multiple classes in classNames ([#124])
Feature: Add back childFactory on ([#113])
Fix documentation npm: No code changes
2017-07-06
Fix documentation on npm: No code changes
2017-07-06
Feature: New API! ([#24]), migration guide at https://github.com/reactjs/react-transition-group/blob/master/Migration.md
2017-07-06
Nothing published for this version
Nothing published for this version
Nothing published for this version
Feature: Dist build now includes both production and development builds ([#64])
[v1.1.3]: https://github.com/reactjs/react-transition-group/compare/v1.1.2...v1.1.3
2017-05-02
Bugfix: Fix refs on children ([#39])
2017-05-02
Chore: Add a prebuilt version of the library for jsbin and the like.
2017-03-16
Feature: Support refs on children ([#9])
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →