If polyfills are needed to make browser-targeted libraries, which use commonly available functions/variables, work in react-native, this is the place to put them. Issues/PRs welcome.
npm install react-native-browser-polyfill the package and then require('react-native-browser-polyfill') it in your main entry file, before any libraries which require the polyfills.
Polyfills available in this package
Subscribe to React Native Example for Android and iOS
Get the latest posts delivered right to your inbox