Gathering detailed insights and metrics for react-transition-hooks
Gathering detailed insights and metrics for react-transition-hooks
Gathering detailed insights and metrics for react-transition-hooks
Gathering detailed insights and metrics for react-transition-hooks
transition-hooks
Extremely light-weight react transition hooks which is simpler and easier to use than react-transition-group
hamburger-react
Animated hamburger menu icons for React
react-components-transition
A very small but useful React component, which allows to smart transition between components without adding unnecessary state's hooks to render conditionally
use-spring-transition
Hooks for spring transition
Helps to manage CSS transitions in React components
npm install react-transition-hooks
Typescript
Module System
Node Version
NPM Version
69
Supply Chain
78.1
Quality
75.3
Maintenance
100
Vulnerability
100
License
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
BSD-3-Clause License
6 Stars
58 Commits
2 Forks
1 Branches
3 Contributors
Updated on Aug 16, 2023
Latest Version
1.2.0
Package Id
react-transition-hooks@1.2.0
Size
5.33 kB
NPM Version
5.6.0
Node Version
8.6.0
Published on
Jan 05, 2018
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
1
24
The goal of this component is supply a better alternative to ReactTransitionGroup. Why? Because, ReactTransitionGroup animations can not be interrupted. So, if you are with a component entering the group it can not leave until the entering phase is complete. Plus, Facebook will drop support for ReactTransitionGroup soon.
If you have a component currently using ReactTransitionGroup you can just change your import with this component and everything should work as expected.
Demo using ReactInlineTransitionGroup
npm install react-transition-hooks
This component uses the same API names of ReactTransitionGroup.
componentWillAppear(callback): Called right after componentDidMount. This is called for the children inside the group for the first render. After the first render this will never be called again.
componentDidAppear(): Called when the callback passed to componentWillAppear is called.
componentWillEnter(callback): Called when a component just entered the group.
componentDidEnter(): Called when the callback passed to componentWillEnter is called.
componentWillLeave(callback): Called when a component is leaving the group.
componentDidLeave(): Called when the callback passed to componentWillLeave is called. This is called right after componentWillUnmount.
Property name | Description |
---|---|
component | The component that will wrap all the children. Default: span |
BSD-3
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 2/26 approved changesets -- score normalized to 0
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
security policy file not detected
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
120 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More