reactjs/react-transition-group

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

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 34 minutes ago
Added to GitGenius on September 6th, 2026
Created on November 20th, 2016
Open Issues & Pull Requests: 258 (+0)
GitHub issues: Enabled
Number of forks: 639
Total Stargazers: 10,225 (+0)
Total Subscribers: 81 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.5 days
Mean response time: 57.9 days
90th percentile: 362.7 days
Tracked items: 17

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 17
New in 7 days: 0
Closed in 7 days: 0
Avg open age: 851 days
Stale 30+ days: 15
Stale 90+ days: 15

Recent activity

Opened in 7 days: 0
Closed in 7 days: 0
Comments in 7 days: 0
Events in 7 days: 0

Top labels

No label distribution available yet.

Most active issues this week

No issue events were indexed in the last 7 days.

Detailed Description

react-transition-group is a component library for managing animations when React components enter or leave the DOM.

The library addresses the challenge of coordinating component lifecycle events with animation timing. Rather than forcing developers to manually synchronize unmounting with animation completion, it provides components that expose lifecycle hooks at key animation stages. Developers can attach CSS classes or run callbacks at enter, entering, exit, and exiting phases, allowing animations to play before the component actually leaves the DOM.

The tool suits projects that need fine-grained control over mount and unmount animations without building custom state management. It works well for modal dialogs, collapsible sections, list item transitions, and similar UI patterns where animation timing matters. The library is particularly useful when CSS transitions or animations are the primary animation method, though it also supports JavaScript-based animation through callbacks. Teams migrating from the older React addon API should note that versions 2 and above introduced breaking changes; the v1 release provides a drop-in replacement for the deprecated `react-addons-transition-group` and `react-addons-css-transition-group` packages, though that version is no longer maintained.

The project maintains active engagement with its issue tracker and accepts pull requests. TypeScript definitions are available through DefinitelyTyped, indicating ongoing support for typed development. The repository includes a Storybook setup with runnable examples that developers can explore locally to understand component behavior before adoption.