Skip to content

Instantly share code, notes, and snippets.



Last active Mar 31, 2018
What would you like to do?
// Promise for an animation frame.
// Tip: use with `await`.
export const frame = () => new Promise(requestAnimationFrame)

This comment has been minimized.

Copy link

@charlesodili charlesodili commented Mar 31, 2018

Very interesting. Please, how would you use this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.