Thapz123 / ReactStarterKit

A minimal react starter kit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Minimal React Starter

A starter project with React, Babel, and Webpack.

This starter is as minimal as possible while still including Babel and Webpack.

Setup

npm install

Usage

  1. node server.js

  2. Open http://localhost:3000/.

More Details

  • No CSS. For experiments or tests, put your styles in index.html in a <style> tag. For real projects, pick from these style tools.
  • No Flux. If you need it - try Redux or MobX!
  • Webpack is run with the express and webpack-dev-middleware.
  • The 'content base' is set to www. Any files in that directory will be served by express.

HMR

HMR is not supported in the master branch for simplicity. If you would like HMR support, you can see the changes that add HMR support or you can directly clone the HMR branch:

git clone -b hmr git@github.com:ahfarmer/minimal-react-starter.git

About

A minimal react starter kit


Languages

Language:JavaScript 94.6%Language:HTML 5.4%