Name: react-livejs
Owner: Brunch
Description: null
Created: 2016-03-15 10:17:11.0
Updated: 2016-03-15 12:07:28.0
Pushed: 2016-03-16 14:41:47.0
Homepage: null
Size: 1
Language: JavaScript
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
As noted on babel-plugin-react-transforms's readme, it's a highly experimental tech and you should not bet your project on it.
Uses livereactload's babel react transform plugin to wrap React components into react-proxy wrappers, in order to make live-reloading easier.
Also exposes a boilerplate piece of babel config via react-livejs/config
, that can later be used as
t liveJs = require('react-livejs/config');
..
l: {
esets: ['es2015', 'react'],
v: {development: {plugins: [liveJs]}}
Add both react-livejs
and babel-plugin-react-transform
to your package.json
.
Then add a piece of babel config as mentioned previously.
http://github.com/goshakkk/brunch-livejs-reload-stage2 demoes this package with Brunch.