4.4.1 (2020-05-06)
4.4.0 (2020-05-05)
- add
nodeRef
alternative instead of internalfindDOMNode
(#559) (85016bf)-
react-transition-group internally uses
findDOMNode
, which is deprecated and produces warnings in Strict Mode, so now you can optionally passnodeRef
toTransition
andCSSTransition
, 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> ) }
-
- set the values of constants attached to
Transition
to match the exported ones (#554)
4.3.0 (2019-09-05)
4.2.2 (2019-08-02)
4.2.1 (2019-07-02)
4.2.0 (2019-06-28)
4.1.1 (2019-06-10)
4.1.0 (2019-05-30)
4.0.1 (2019-05-09)
- issue with dynamically applied classes not being properly removed for reentering items (#499) (129cb11)
4.0.0 (2019-04-16)
- in environments where esm is supported importing from commonjs requires explicitly adding the
.default
afterrequire()
when resolving to the esm build
3.0.0 (2019-04-15)
- use new style react context
// package.json
-"react": "^15.0.0",
+"react": "^16.6.0",
-"react-dom": "^15.0.0",
+"react-dom": "^16.6.0",
2.9.0 (2019-04-06)
- bump semantic release dependencies (1bdcaec)
2.8.0 (2019-04-02)
2.7.1 (2019-03-25)
- revert tree-shaking support because it was a breaking change (271364c)
2.7.0 (2019-03-22)
2.6.1 (2019-03-14)
- Transition: make
exit
key optional when passing an object to thetimeout
prop (#464) (3a4cf9c) - package.json: mark react-transition-group as side-effect free for webpack tree shaking (#472) (b81dc89)
2.6.0 (2019-02-26)
2.5.3 (2019-01-14)
2.5.2 (2018-12-20)
2.5.1 (2018-12-10)
2.5.0 (2018-09-26)
2.4.0 (2018-06-27)
- remove deprecated lifecycle hooks and polyfill for older react versions (c1ab1cf)
- don't reflow when there's no class to add (d7b898d)
2.3.1 (2018-04-14)
2018-03-28
- Added
*-done
classes to CSS Transition (#269) - Reorganize docs with more interesting examples! (#304)
- A bunch of bug fixes
2017-09-29
- Patch: Allow React v16 (#198)
2017-07-21
- Feature: Support multiple classes in
classNames
(#124) - Docs: fix broken link (#127)
- Bugfix: Fix Transition props pass-through (#123)
2017-07-06
- Feature: Add back
childFactory
on<TransitionGroup>
(#113) - Bugfix: Ensure child specified
onExited
fires in a<TransitionGroup>
(#113)
2017-07-06
- 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-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)
2017-05-02
- bonus release, no additions
2017-05-02
- Bugfix: Fix refs on children (#39)
2017-03-16
- Chore: Add a prebuilt version of the library for jsbin and the like.
2017-03-16