Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
R

react-transition-group

> 编程语言
Open source

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

10.2K stars0 likes1 views
WebsiteGitHub

About

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

react-transition-group npm

ATTENTION! To address many issues that have come up over the years, the API in v2 and above 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. Documentation and code for that release are available on the v1-stable branch.

We are no longer updating the v1 codebase, please upgrade to the latest version when possible

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

Documentation

  • Main documentation
  • Migration guide from v1

TypeScript

TypeScript definitions are published via DefinitelyTyped and can be installed via the following command:

bash
npm install @types/react-transition-group

Examples

Clone the repo first:

[email protected]: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.

Issues· 258 open

View all issuesOpen on GitHub
  • #918

    React 19 has removed the ReactDOM.findDOMNode method.

    Updated Oct 13, 2025
  • #921

    Potential state inconsistency in Transition when used with TransitionGroup

    Updated Aug 8, 2025
  • #906

    Consider removing prop-types dependency

    Updated Jul 18, 2025
  • #850

    CSSTransition enter first tick

    Updated Mar 27, 2025
  • #920

    Package routing rendering issue

    Updated Mar 11, 2025
  • #893

    Warning: findDOMNode is deprecated in StrictMode.

    Updated Jan 30, 2025
  • #917

    Animation only on new item, and wrong animation

    Updated Jan 13, 2025
  • #916

    Weird twitching with horizontal collapse

    Updated Jan 4, 2025
  • #909

    JSX transform incompatible with React 19

    Updated Jan 3, 2025
  • #904

    findDOMNode is deprecated in StrictMode. findDOMNode was passed an instance of Transition which is inside StrictMode. Instead, add a ref directly to the element you want to reference.

    Updated Dec 30, 2024

> Tags

JavaScript

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 29, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言