1.0.0 • Published 1 year ago

rafster v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

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 rafster

Usage

// Import before requestAnimationFrame is called
import 'rafster'
// Import library that uses requestAnimationFrame
import someLib from 'some-lib'