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