Translate JavaScript Environment Requirements by taggon · Pull Request #34 · reactjs/ko.react.dev
@@ -1,14 +1,14 @@
---
id: javascript-environment-requirements
title: JavaScript Environment Requirements
title: 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 버전은 컬렉션 자료형인 [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)과 [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set)을 사용합니다. 이 기능을 자체적으로 지원하지 않거나(예. IE 11 미만) 지원은 하지만 잘 호환되지 않는(예. IE 11) 오래된 브라우저나 기기에서도 React를 사용해야 한다면 애플리케이션에 [core-js](https://github.com/zloirock/core-js)나 [babel-polyfill](https://babeljs.io/docs/usage/polyfill/) 같은 전역 폴리필(polyfill)을 포함하는 것도 고려해보세요.
A polyfilled environment for React 16 using core-js to support older browsers might look like: 다음은 오래된 브라우저 지원을 위해 core-js 폴리필을 적용한 환경에서 React 16 버전을 사용하는 예시입니다.
```js import 'core-js/es6/map'; Expand All @@ -23,8 +23,8 @@ ReactDOM.render( ); ```
React also depends on `requestAnimationFrame` (even in test environments). You can use the [raf](https://www.npmjs.com/package/raf) package to shim `requestAnimationFrame`: React에는 `requestAnimationFrame` 기능도 필요한데, 이는 테스트 환경에서도 사용됩니다. 오래된 브라우저에서는 [raf](https://www.npmjs.com/package/raf) 패키지를 사용하여 `requestAnimationFrame` 기능을 지원할 수 있습니다.
```js import 'raf/polyfill'; Expand Down
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 버전은 컬렉션 자료형인 [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map)과 [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set)을 사용합니다. 이 기능을 자체적으로 지원하지 않거나(예. IE 11 미만) 지원은 하지만 잘 호환되지 않는(예. IE 11) 오래된 브라우저나 기기에서도 React를 사용해야 한다면 애플리케이션에 [core-js](https://github.com/zloirock/core-js)나 [babel-polyfill](https://babeljs.io/docs/usage/polyfill/) 같은 전역 폴리필(polyfill)을 포함하는 것도 고려해보세요.
A polyfilled environment for React 16 using core-js to support older browsers might look like: 다음은 오래된 브라우저 지원을 위해 core-js 폴리필을 적용한 환경에서 React 16 버전을 사용하는 예시입니다.
```js import 'core-js/es6/map'; Expand All @@ -23,8 +23,8 @@ ReactDOM.render( ); ```
React also depends on `requestAnimationFrame` (even in test environments). You can use the [raf](https://www.npmjs.com/package/raf) package to shim `requestAnimationFrame`: React에는 `requestAnimationFrame` 기능도 필요한데, 이는 테스트 환경에서도 사용됩니다. 오래된 브라우저에서는 [raf](https://www.npmjs.com/package/raf) 패키지를 사용하여 `requestAnimationFrame` 기능을 지원할 수 있습니다.
```js import 'raf/polyfill'; Expand Down