MCPcopy Index your code
hub / github.com/reactjs/react-transition-group

github.com/reactjs/react-transition-group @v4.4.5

repository ↗ · DeepWiki ↗ · release v4.4.5 ↗ · + Follow
122 symbols 259 edges 46 files 5 documented · 4% 53 cross-repo links updated 4mo agov4.4.5 · 2022-08-01★ 10,234213 open issues
README

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:

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.

Core symbols most depended-on inside this repo

render
called by 43
test/utils.js
setProps
called by 27
test/utils.js
add
called by 11
src/utils/SimpleSet.js
getProp
called by 7
src/utils/ChildMapping.js
safeSetState
called by 6
src/Transition.js
addClass
called by 6
src/CSSTransition.js
removeClasses
called by 5
src/CSSTransition.js
callHook
called by 4
src/SwitchTransition.js

Shape

Function 44
Method 44
Class 34

Languages

TypeScript100%

Modules by API surface

test/Transition-test.js17 symbols
src/Transition.js17 symbols
test/CSSTransitionGroup-test.js11 symbols
test/CSSTransition-test.js9 symbols
src/TransitionGroup.js8 symbols
src/utils/SimpleSet.js7 symbols
src/utils/ChildMapping.js7 symbols
src/SwitchTransition.js7 symbols
src/CSSTransition.js7 symbols
test/TransitionGroup-test.js5 symbols
stories/TransitionGroup.js5 symbols
www/src/templates/component.js4 symbols

Dependencies from manifests, versioned

@babel/cli7.8.4 · 1×
@babel/core7.9.0 · 1×
@babel/runtime7.5.5 · 1×
@restart/hooks0.3.22 · 1×
@semantic-release/changelog5.0.1 · 1×
@semantic-release/git9.0.0 · 1×
@semantic-release/npm7.0.5 · 1×
@storybook/addon-actions6.3.4 · 1×
@storybook/react6.3.4 · 1×
@testing-library/reactalpha · 1×
@typescript-eslint/eslint-plugin4.26.1 · 1×

For agents

$ claude mcp add react-transition-group \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact