Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook.useTransition with more events #76

Open
leolorenzoluis opened this issue Feb 4, 2023 · 0 comments
Open

Hook.useTransition with more events #76

leolorenzoluis opened this issue Feb 4, 2023 · 0 comments

Comments

@leolorenzoluis
Copy link
Member

leolorenzoluis commented Feb 4, 2023

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 and OnLeft.

Adding such as OnEntered, OnEntering... etc

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?

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant