CaptainFact / CaptainFact/captain-fact

Uncaught ReferenceError: requestAnimationFrame is not defined

Open
#199 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
71
Forks
7
PR merge metrics
No merged PRs in 30d

Description

View details in Rollbar: [https://rollbar.com/captainfact/CaptainFact-Frontend/items/4/](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](https://www.npmjs.com/package/raf) package to shim requestAnimationFrame:

```es6
import 'raf/polyfill';
```

Affected: IE10, maybe Opera Mobile

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.