Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Latest commit

 

History

History
20 lines (13 loc) · 657 Bytes

README.md

File metadata and controls

20 lines (13 loc) · 657 Bytes

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/.