react-es6-demo icon indicating copy to clipboard operation
react-es6-demo copied to clipboard

Showcasing how to use React with ECMAScript 2015

react-es6-demo

Showcasing how to use React with ECMAScript 2015. Can be used as a starting point for a React app.

An associated blog post can be found here, though it is severely outdated compared to this repository.

The gist of it is this:

  • Using webpack, traverse the dependency tree.
  • With the help of babel, transpile any occurences of ECMAScript 2015 syntax.
  • Output the result to the build directory and serve it.

Usage

npm install
npm start

Navigate to http://localhost:8080/.