yarn add callbag-animation-frames
const pipe = ;const forEach = ;const animationFrames = ; ;
If you're blessed with the pipeline operator:
animationFrames |> ;
Learn more
- Callbag basics
- Why we need callbags, by André Staltz
- requestAnimationFrame (MDN)