Installation
$ npm i raf-pause
or
$ yard add raf-pause
API
start()
Start the timer.
clean()
Clean the timer.
Recipes
const run = runstart const runAndLoop = runAndLoopstart
In React
{ thiscountDownstart} { thiscountDown} countDown =
Fallback
It'll fallback to setTimeout
if browsers don't support requestAnimationFrame