Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 565 Bytes

File metadata and controls

26 lines (17 loc) · 565 Bytes

React with ECMAScript 6

Showcasing how to use React with ECMAScript 6.

Usage

npm install
npm run build

Optionally, to run from a web server:

npm install -g live-server
live-server

An associated blog post can be found here.

The gist of it is this:

  • Using webpack, traverse the dependency tree.
  • With the help of babel, transpile any occurences of ECMAScript 6 syntax.
  • Output the result to dist/bundle.js.