Skip to content

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

License

Notifications You must be signed in to change notification settings

naoufal/react-transform-boilerplate

 
 

Repository files navigation

React Transform Boilerplate

A new Webpack boilerplate with:

  • hot reloading React components;
  • error handling inside component render() function;
  • error handling for syntax errors (thanks, @glenjamin!)

Built with babel-plugin-react-transform and a few custom transforms.
Does not use React Hot Loader.

react-transform channel on slack

Demo

git clone https://github.com/gaearon/react-transform-boilerplate.git
cd react-transform-boilerplate
npm install
npm start
open http://localhost:3000

Then go ahead and edit files inside src (any file except index.js).

What’s Inside

The component instrumentation is implemented on top of babel-plugin-react-transform:

The syntax errors are displayed in an overlay by @glenjamin’s webpack-hot-middleware which replaces Webpack Dev Server.

Discussion

You can discuss React Transform and related projects in #react-transform channel on Reactiflux Slack.

License

CC0 (public domain)

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 94.0%
  • HTML 6.0%