@phntms/use-animation-frame

A React hook to effortlessly run a single shared requestAnimationFrame() for all instances of the hook used with adjustable frames per second.