I changed the README to include es2017 and remove dom. The RN runtime includes polyfills for ES2017 static methods Object.entries() and Object.values() - they are implemented natively on iOS 10.3+ anyway.
I removed dom because that would allow a lot of invalid code to compile, since RN does not include any DOM APIs nor most of the browser Web APIs. The subset that is included is (mostly) defined in @types/react-native. Missing Web APIs will be added to @types/react-native as the community finds them.
I changed the README to include
es2017
and removedom
. The RN runtime includes polyfills for ES2017 static methodsObject.entries()
andObject.values()
- they are implemented natively on iOS 10.3+ anyway. I removeddom
because that would allow a lot of invalid code to compile, since RN does not include any DOM APIs nor most of the browser Web APIs. The subset that is included is (mostly) defined in@types/react-native
. Missing Web APIs will be added to@types/react-native
as the community finds them.