nextFrame

import { nextFrame } from '@hullo/browser'

Returns a Promise of when the next frame is being produced. Uses requestAnimationFrame and falls back to setTimeoutif rAF is not available.