Skip to content
This repository has been archived by the owner on Feb 28, 2020. It is now read-only.

Add Raf to help upgrade React 15 to 16 #172

Closed
wants to merge 1 commit into from
Closed

Conversation

krillatron
Copy link

Upgrading React from 15.6 to 16 in Carbon, adding raf removes a warning:

jestjs/jest#4545

console.error node_modules/fbjs/lib/warning.js:33
    Warning: React depends on requestAnimationFrame. Make sure that you load a polyfill in older browsers. http://fb.me/react-polyfills

Copy link

@andrewjtait andrewjtait left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@krillatron krillatron closed this Jan 5, 2018
@krillatron
Copy link
Author

Closed due to anything inheriting this would be required to add raf to their setup files, so having in each individually makes more sense

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

Successfully merging this pull request may close these issues.

None yet

4 participants