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

Add useAnimationFrame hook? #11

Open
ronnoc5991 opened this issue Jan 13, 2022 · 1 comment
Open

Add useAnimationFrame hook? #11

ronnoc5991 opened this issue Jan 13, 2022 · 1 comment
Labels
new-hook The addition of a new hook

Comments

@ronnoc5991
Copy link

The project that I am working on has a nice useAnimationFrame hook that has proven very useful. I do not see it here. Would this be something that deserves to be included? It takes a callback and returns a start and a stop function.

@ThaNarie
Copy link
Contributor

ThaNarie commented Jan 13, 2022

Sounds similar to #10, but instead of an interval, it uses requestAnimationFrame.
Sounds good to to have as well, yes :)

@ThaNarie ThaNarie added the new-hook The addition of a new hook label Jan 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new-hook The addition of a new hook
Projects
None yet
Development

No branches or pull requests

2 participants