UNPKG

react-15

Version:
38 lines (23 loc) 683 B
# react-15 [![NPM](https://nodei.co/npm/react-15.png)](https://nodei.co/npm/react-15/) [![NPM version](https://img.shields.io/npm/v/react-15.svg)](https://www.npmjs.com/package/react-15) Copy of [react@15](https://unpkg.com/react@15/). ## Install ```sh npm install react-15 ``` ## Usage The following files and directories are copied: - dist - lib - react.js This means you can require with CommonJS: ```js var shallowCompare = require('react-15/lib/shallowCompare'); ``` Or with ES Modules: ```js import sliceChildren from 'react-15/lib/sliceChildren'; ``` ## License MIT. See [license](https://github.com/facebook/react/blob/15-stable/LICENSE) from original project.