react-transition-group

2018-06-14 admin

react-transition-group是什么

什么是react-transition-group,A react component toolset for managing animations

react-transition-group介绍、react-transition-group使用

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

You can send pull requests with v1 bugfixes against the v1-stable branch.

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

Documentation

Examples

Clone the repo first:

git@github.com: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.

本站文章除注明转载外,均为本站原创或编译。欢迎任何形式的转载,但请务必注明出处。

转载请注明:文章转载自 JavaScript中文网 [https://www.javascriptcn.com]

本文地址:https://www.javascriptcn.com/read-34046.html

文章标题:react-transition-group

回到顶部