Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions content/docs/reference-javascript-environment-requirements.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
id: javascript-environment-requirements
title: JavaScript Environment Requirements
title: JavaScript Mühitinin Tələbləri
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) kolleksiya tiplərindən asılıdır. Əgər siz bu funksiyaları nativ təmin etməyən köhnə brauzerləri (məsələn IE < 11) və ya standart tətbiq etməyən brauzerləri (məsələn IE 11) dəstəkləyirsinizsə, [core-js](https://github.com/zloirock/core-js) və ya [babel-polyfill](https://babeljs.io/docs/usage/polyfill/) kimi qlobal polifilləri paketlənmiş applikasiyanıza əlavə edin.

A polyfilled environment for React 16 using core-js to support older browsers might look like:
React 16-nı keçmiş brauzerlərdə dəstəkləmək üçün core-js ilə polifilləşmiş mühit aşağıdakı kimi ola bilər:

```js
import 'core-js/es/map';
Expand All @@ -18,13 +18,13 @@ import React from 'react';
import ReactDOM from 'react-dom';

ReactDOM.render(
<h1>Hello, world!</h1>,
<h1>Salam Dünya!</h1>,
document.getElementById('root')
);
```

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 həmçinin `requestAnimationFrame`-dən (hətta test mühitlərində) asılıdır.
Siz `requestAnimationFrame`-i "shim" etmək üçün [raf](https://www.npmjs.com/package/raf) paketindən istifadə edə bilərsiniz:

```js
import 'raf/polyfill';
Expand Down