Run npm install in the directory to install React from npm. Then run:
npm install
npm start
to produce bundle.js with example code and React.
bundle.js