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 requestAnimationFrame mode #2

Open
morinted opened this issue Nov 15, 2019 · 0 comments
Open

Add requestAnimationFrame mode #2

morinted opened this issue Nov 15, 2019 · 0 comments

Comments

@morinted
Copy link
Owner

It would be nice if <Play /> took a prop that made it start updating in realtime, instead of having to build that code ourselves all the time like in the fade and scrubbing stories.

Maybe something like animate, realtime, redraw, or live as a prop that enables the mode?

Should probably make use of a requestAnimationFrame polyfill. This would, however, introduce a dependency. Better than rolling my own.

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