captain-fact icon indicating copy to clipboard operation
captain-fact copied to clipboard

Uncaught ReferenceError: requestAnimationFrame is not defined

Open Betree opened this issue 7 years ago • 0 comments

View details in Rollbar: https://rollbar.com/captainfact/CaptainFact-Frontend/items/4/

ReferenceError: requestAnimationFrame is not defined
  File "https://captainfact.io/vendor.1d8b49df636fa23cc431.js", line 45, in [anonymous]

:information_source: https://fb.me/react-polyfills

React also depends on requestAnimationFrame (even in test environments). You can use the raf package to shim requestAnimationFrame:

import 'raf/polyfill';

Affected: IE10, maybe Opera Mobile

Betree avatar Nov 08 '18 22:11 Betree