Skip to content

Commit 7f15f07

Browse files
cvqprsjakubdrozdek
authored andcommitted
Translate 'JavaScript Environment Requirements' page (#34)
1 parent f497c7a commit 7f15f07

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

content/docs/reference-javascript-environment-requirements.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
---
22
id: javascript-environment-requirements
3-
title: JavaScript Environment Requirements
3+
title: Wymagania środowiska JavaScript
44
layout: docs
55
category: Reference
66
permalink: docs/javascript-environment-requirements.html
77
---
88

9-
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/).
9+
React 16 opiera się na typach kolekcji [Map](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Map) i [Set](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set). Jeżeli wspierasz starsze przeglądarki oraz urzadzenia, które mogą jeszcze nie udostępniać ich w sposób natywny (np. IE < 11) lub które posiadają niezgodności implementacyjne (np. IE 11), rozważ dodanie globalnej łatki do swojej aplikacji, korzystając z [core-js](https://github.com/zloirock/core-js) lub [babel-polyfill](https://babeljs.io/docs/usage/polyfill/).
1010

11-
A polyfilled environment for React 16 using core-js to support older browsers might look like:
11+
Środowisko, w którym zastosowano łatki dla Reacta 16 korzystając z core-js, może wyglądać tak:
1212

1313
```js
1414
import 'core-js/es6/map';
@@ -18,13 +18,13 @@ import React from 'react';
1818
import ReactDOM from 'react-dom';
1919

2020
ReactDOM.render(
21-
<h1>Hello, world!</h1>,
21+
<h1>Witaj, świecie!</h1>,
2222
document.getElementById('root')
2323
);
2424
```
2525

26-
React also depends on `requestAnimationFrame` (even in test environments).
27-
You can use the [raf](https://www.npmjs.com/package/raf) package to shim `requestAnimationFrame`:
26+
React jest zależny od funkcji `requestAnimationFrame` (nawet w środowiskach testowych).
27+
Możesz ją dodać, korzystając z pakietu [raf](https://www.npmjs.com/package/raf):
2828

2929
```js
3030
import 'raf/polyfill';

0 commit comments

Comments
 (0)