zloirock/core-js

requestAnimationFrame polyfill

Open

#1,523 建立於 2026年3月16日

在 GitHub 查看
 (1 留言) (0 反應) (0 負責人)JavaScript (1,609 fork)batch import
enhancementhelp wantedweb standards

倉庫指標

Star
 (23,771 star)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Is there plans to support requestAnimationFrame?

The polyfill plans, if planned I propose to be as follows---

  • Ancient webkit and firefox: redirect to mozRAF, webkitRAF (RAF is abbreviated) / mozCAF, webkit CRAF, etc.
  • Older broswers / node: Store a list of callbacks, pump them every 16ms (so all usages of RAF animates at the same time)

貢獻者指南