React Top-Level API – React

React is the entry point to the React library. If you load React from a tag, these top-level APIs are available on the React global. If you use ES6 with npm, you can write import React from ‘react’. If you use ES5 with npm, you can write var React = require(‘react’).

Source: React Top-Level API – React

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.