We want to hear from you!Take our 2021 Community Survey!

JavaScript орчны шаардлага

React 16 depends on the collection types Map and 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.

import 'core-js/es/map';
import 'core-js/es/set';

import React from 'react';
import ReactDOM from 'react-dom';

  <h1>Hello, world!</h1>,

React нь мөн requestAnimationFrame-аас хамааралтай (тест хийх орчинд ч ялгаагүй) Та requestAnimationFrame-т дэмждэг болгон raf пакэжийг ашиглаарай:

import 'raf/polyfill';
Is this page useful?Edit this page