Skip to content

v5.0.0

Choose a tag to compare

@jedwards1211 jedwards1211 released this 16 Apr 17:38
· 3 commits to master since this release

5.0.0 (2019-04-16)

Bug Fixes

  • redesign API to use more hooks (6ada97d)

BREAKING CHANGES

  • The whole API is redesigned; now you use hooks like
    useCameInEffect(() => inputRef.current.focus()) instead of passing
    callback props like <TransitionContext onDidComeIn={() => inputRef.current.focus()} />.
    The transitionState property of TransitionContext has been renamed to state,
    and it no longer supports a child function (you can use the useTransitionContext hook
    instead for this purpose).