rafster
v1.0.0
Published
Sharing the "requestAnimationFrame" and "cancelAnimationFrame" methods across different libraries saves animation frames, thereby improving performance.
Maintainers
Readme
Rafster
Rafster is a simple, fast, and easy-to-use library for combining the requestAnimationFrame method of multiple third-party libraries into one to improve performance.
Installation
npm install rafster --save
# or
yarn add rafsterUsage
// Import before requestAnimationFrame is called
import 'rafster'
// Import library that uses requestAnimationFrame
import someLib from 'some-lib'