jodelamo / react-es6-demo

Showcasing how to use React with ECMAScript 2015

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Showcasing how to use React with ECMAScript 2015


Languages

Language:JavaScript 73.6%Language:HTML 24.6%Language:CSS 1.7%