diff --git a/content/blog/2017-09-26-react-v16.0.md b/content/blog/2017-09-26-react-v16.0.md index b9f377851..1d09b0dda 100644 --- a/content/blog/2017-09-26-react-v16.0.md +++ b/content/blog/2017-09-26-react-v16.0.md @@ -178,7 +178,7 @@ React 16 includes a number of small breaking changes. These only affect uncommon * `react-dom/dist/react-dom.js` → `react-dom/umd/react-dom.development.js` * `react-dom/dist/react-dom.min`.js → `react-dom/umd/react-dom.production.min.js` -## JavaScript Environment Requirements {#javascript-environment-requirements} +## Requisiti Ambiente JavaScript {#javascript-environment-requirements} React 16 depends on the collection types [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) and [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set). If you support older browsers and devices which may not yet provide these natively (e.g. IE < 11), consider including a global polyfill in your bundled application, such as [core-js](https://github.com/zloirock/core-js) or [babel-polyfill](https://babeljs.io/docs/usage/polyfill/). diff --git a/content/docs/nav.yml b/content/docs/nav.yml index 90ce6e124..2854f9fe7 100644 --- a/content/docs/nav.yml +++ b/content/docs/nav.yml @@ -101,7 +101,7 @@ - id: test-renderer title: Test Renderer - id: javascript-environment-requirements - title: JS Environment Requirements + title: Requisiti Ambiente JS - id: glossary title: Glossary - title: Hooks (New) diff --git a/content/docs/reference-javascript-environment-requirements.md b/content/docs/reference-javascript-environment-requirements.md index 44a36eb9d..28e26ff52 100644 --- a/content/docs/reference-javascript-environment-requirements.md +++ b/content/docs/reference-javascript-environment-requirements.md @@ -1,14 +1,14 @@ --- id: javascript-environment-requirements -title: JavaScript Environment Requirements +title: Requisiti Ambiente JavaScript layout: docs category: Reference permalink: docs/javascript-environment-requirements.html --- -React 16 depends on the collection types [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) and [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set). If you support older browsers and devices which may not yet provide these natively (e.g. IE < 11) or which have non-compliant implementations (e.g. IE 11), consider including a global polyfill in your bundled application, such as [core-js](https://github.com/zloirock/core-js) or [babel-polyfill](https://babeljs.io/docs/usage/polyfill/). +React 16 dipende dai tipi di collezione [Map](https://developer.mozilla.org/it/docs/Web/JavaScript/Reference/Global_Objects/Map) e [Set](https://developer.mozilla.org/it/docs/Web/JavaScript/Reference/Global_Objects/Set). Se supporti browsers e dispositivi che non offrono tali tipi in modo nativo (ad esempio IE < 11) oppure nel caso di implementazioni non conformi (ad esempio: IE 11), consudera l'inclusione di un [polyfill](https://it.wikipedia.org/wiki/Polyfill) globale nel tuo bundle dell'applicazione, quale [core-js](https://github.com/zloirock/core-js) o [babel-polyfill](https://babeljs.io/docs/usage/polyfill/). -A polyfilled environment for React 16 using core-js to support older browsers might look like: +Un ambiente con polyfill per React 16 utilizzando core-js per supportare browser più vecchi dovrebbe essere così: ```js import 'core-js/es6/map'; @@ -18,13 +18,13 @@ import React from 'react'; import ReactDOM from 'react-dom'; ReactDOM.render( -