1. raf.js
Yet another requestAnimationFrame polyfill.
raf.js
Package: raf.js
Created by: ngryman
Last modified: Sat, 25 Jun 2022 09:57:24 GMT
Version: 0.0.4
License: MIT
Downloads: 11,876
Repository: https://github.com/ngryman/raf.js

Install

npm install raf.js
yarn add raf.js

raf.js Version Size

Yet another requestAnimationFrame polyfill:

  • really tiny: 361 bytes minified and 242 gzipped.

Install

Bower Jam npm
bower install raf.js jam install raf npm install raf.js

Release History

v0.0.4
 - IE8 compatibility, (#6).

v0.0.3
 - removed unecessary cast on `Date.now` (#1).
 - export to `cancelAnimationFrame` instead of `cancelRequestAnimationFrame` (#2).

Credits

Paul's Irish gist.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin