Skip to content
项目

reactjs/react-transition-group

在 GitHub 查看

reactjs/react-transition-group has 10,210 GitHub stars and 638 forks. GitHot measured -1 stars in 24 hours, -4 in 7 days, and -2 in 15 days. Last checked 2026-11-24 21:14 UTC. Last push 2026-03-05.

这些数字如何统计

实测星标增长

24小时
-1
7天
-4
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

关于

React 组件进入或离开 DOM 时,实现动画的简便方式。

创作与媒体

README.md

原文

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

TypeScript

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

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.

探索相关项目

加载中…