React Transition Group Versions Save

An easy way to perform animations when a React component enters or leaves the DOM

v4.4.5

1 year ago

4.4.5 (2022-08-01)

Bug Fixes

  • apply entering animation synchronously when unmountOnExit or mountOnEnter is enabled (#847) (1043549)

v4.4.4

1 year ago

4.4.4 (2022-07-30)

Bug Fixes

v4.4.3

1 year ago

4.4.3 (2022-07-30)

Bug Fixes

  • enter animations with mountOnEnter or unmountOnExit (#749) (51bdceb)

v4.4.2

2 years ago

4.4.2 (2021-05-29)

Bug Fixes

  • nodeRef prop type for cross-realm elements (#732) (8710c01)

v4.4.1

3 years ago

4.4.1 (2020-05-06)

Bug Fixes

v4.4.0

3 years ago

4.4.0 (2020-05-05)

Features

  • add 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>
        )
      }
      

Bug Fixes

  • set the values of constants attached to Transition to match the exported ones (#554)

v4.3.0

4 years ago

4.3.0 (2019-09-05)

Features

v4.2.2

4 years ago

4.2.2 (2019-08-02)

Bug Fixes

  • Fix imports to play nicely with rollup (#530) (3d9003e)

v4.2.1

4 years ago

4.2.1 (2019-07-02)

Bug Fixes

  • updated SwitchTransition component to be default export and exported from index.js (#516) (cfd0070)

v4.2.0

4 years ago

4.2.0 (2019-06-28)

Features