brunch/react-livejs

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

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

React live JS wrapper

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]}}

Installation

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.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.