diff --git a/docs/guides/getting-started.md b/docs/guides/getting-started.md index d40b8aa6..cf265f6e 100644 --- a/docs/guides/getting-started.md +++ b/docs/guides/getting-started.md @@ -1,5 +1,8 @@ # Getting started +It is recommended that your application provide a `Promise` and `Array.from` +polyfill. + ## Webpack and Babel [Webpack](webpack.js.org) is a popular build tool for web apps. Below is an diff --git a/src/modules/NativeMethodsMixin/index.js b/src/modules/NativeMethodsMixin/index.js index ee10a0f6..2febc3fc 100644 --- a/src/modules/NativeMethodsMixin/index.js +++ b/src/modules/NativeMethodsMixin/index.js @@ -69,7 +69,7 @@ const NativeMethodsMixin = { setNativeProps(nativeProps: Object) { // DOM state const node = findNodeHandle(this); - const classList = [...node.classList]; + const classList = Array.prototype.slice.call(node.classList); const domProps = createDOMProps(nativeProps, style => StyleRegistry.resolveStateful(style, classList)