Coder Social home page Coder Social logo

keppelen / react-transform-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gaearon/react-transform-boilerplate

0.0 1.0 0.0 66 KB

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

License: MIT License

HTML 7.81% JavaScript 92.19%

react-transform-boilerplate's Introduction

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

MIT

react-transform-boilerplate's People

Contributors

gaearon avatar joearasin avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.