Open leolorenzoluis opened 1 year ago
I'm not sure if it's missing, but would it be useful to add additional event handlers on the Hook.useTransition
Hook.useTransition
Currently it uses OnEntered and OnLeft.
OnEntered
OnLeft
Adding such as OnEntered, OnEntering... etc
OnEntering
Also, would it be more useful if the OnLeft was renamed to Exit instead to be on on par with other naming conventions by other frameworks?
Exit
What I'm trying to do is assign TailWindCss on different transitions. I'm not sure if there's a better way to do it
Maybe something like https://github.com/reactjs/react-transition-group/blob/2989b5b87b4b4d1001f21c8efa503049ffb4fe8d/stories/Transition.js#L13
I'm not sure if it's missing, but would it be useful to add additional event handlers on the
Hook.useTransition
Currently it uses
OnEntered
andOnLeft
.Adding such as
OnEntered
,OnEntering
... etcAlso, would it be more useful if the
OnLeft
was renamed toExit
instead to be on on par with other naming conventions by other frameworks?What I'm trying to do is assign TailWindCss on different transitions. I'm not sure if there's a better way to do it
Maybe something like https://github.com/reactjs/react-transition-group/blob/2989b5b87b4b4d1001f21c8efa503049ffb4fe8d/stories/Transition.js#L13