Last active
October 14, 2019 15:06
-
-
Save gaearon/9a4d54653ae9c50af6c54b4e0e56b583 to your computer and use it in GitHub Desktop.
@capaj, Great... 👍
// package.json
...
"setupFiles": [
"raf/polyfill"
]
...
Thanks!.. am using jest
package and now its fixed my console warning
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
@capaj, thanks!)
@capaj, Thanks!!!
@capaj, Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cheers, @capaj!
BEFORE
![screen shot 2017-10-11 at 11 49 36](https://user-images.githubusercontent.com/1144320/31424503-59411c50-ae7a-11e7-84f3-d9e81b10361a.png)
AFTER
![screen shot 2017-10-11 at 11 49 55](https://user-images.githubusercontent.com/1144320/31424509-614ac856-ae7a-11e7-8bf1-f1fb58c529c0.png)