Releases: szhsin/react-transition-state
Releases · szhsin/react-transition-state
v2.2.0
Avoid the naming conflict with React's native hook (#694, as discussed in #692) by:
- Rename
useTransition
to useTransitionState
.
- Mark the old
useTransition
export as deprecated.
v2.1.3
- Fix a bug with using multiple
useTransitionMap
hooks in the same environment #677 (thanks @migueldamota)
v2.1.2
- Add switch transition examples in README #639
v2.1.1
- Fix missing transitions from "preEnter/preExit" to "entering/exiting" state #425
v2.1.0
- Support toggling all items in
useTransitionMap
#338
- Change build target to es6 #336
v2.0.0
- Add
useTransitionMap
for managing state of multiple items (#218)
- [BREAKING] Change
useTransition
return state from a string value into an object (#218)
v1.1.4
Update README docs: add appearing transition examples (#146)
v1.1.0
- Add
onChange
event for listening state updates (#25)
- Optimise bundle output (#51)