Skip to content

Releases: szhsin/react-transition-state

v2.3.3

31 Jan 03:31
b9a8177

Choose a tag to compare

  • Fix SSR hydration issues by wrapping setTimeout to ensure it executes at call time #870

v2.3.2

04 Jan 10:49
f737829

Choose a tag to compare

  • Rebuilt the package with Rolldown. No functional or API changes #859
  • Replaced manual type declarations with tsc-emitted declaration files #862
  • Added "use client" directives for clearer RSC messaging #859

v2.3.1

24 Mar 10:34
148dc27

Choose a tag to compare

  • Remove the useEffect that clears the timer in useTransitionState #770

v2.3.0

01 Feb 07:49
30d16cd

Choose a tag to compare

  • Update devDependencies to React 19 #735
  • Use explicit file extensions for both module systems #737

v2.2.0

12 Nov 13:15
206d773

Choose a tag to compare

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

16 Oct 10:41
09d6903

Choose a tag to compare

  • Fix a bug with using multiple useTransitionMap hooks in the same environment #677 (thanks @migueldamota)

v2.1.2

21 Aug 14:47
21b2707

Choose a tag to compare

  • Add switch transition examples in README #639

v2.1.1

08 Jul 11:59
e29454d

Choose a tag to compare

  • Fix missing transitions from "preEnter/preExit" to "entering/exiting" state #425

v2.1.0

11 Feb 03:25
4381b42

Choose a tag to compare

  • Support toggling all items in useTransitionMap #338
  • Change build target to es6 #336

v2.0.0

25 Aug 15:01
7df6800

Choose a tag to compare

  • Add useTransitionMap for managing state of multiple items (#218)
  • [BREAKING] Change useTransition return state from a string value into an object (#218)