@philholden/component-boilerplate

A new Webpack boilerplate with hot reloading React components, and error handling on module and component level.


Keywords
react, reactjs, boilerplate, hot, reload, hmr, live, edit, webpack, babel, react-transform
License
CC0-1.0
Install
npm install @philholden/component-boilerplate@1.2.0

Documentation

Component Boilerplate

travis build codecov coverage version downloads CC0 License semantic-release

This is a hybrid of React Transform Boilerplate and Kent C Dodds' How to Write an Open Source JavaScript Library. It has the following features:

  • Babel 6 hot loading
  • Testing via AVA
  • Null loaders to allow unit testing where components use loaders for CSS or images
  • WebSockets via Socket.IO set up on server (delete if not needed)
  • All the semantic release, code coverage etc from Kent C Dodds

Installation

git clone https://github.com/philholden/component-boilerplate.git
cd component-boilerplate
npm install
npm start
open http://localhost:3000

When setting up a new repo

semantic-release-cli setup

License

CC0 (public domain)