Skip to content

v2.4.2

Latest

Choose a tag to compare

@szhsin szhsin released this 05 Dec 04:27
e7fa38e
  • Fixed pending transitions calling onStateChange and updating state after the component unmounts, in useTransitionState and useTransitionMap (#892, #894).
  • A transition that is still pending at unmount no longer reports its final status through onStateChange.
  • cancelAnimationFrame is now also called on unmount, so a test environment without it needs to provide a stub.