Skip to content
This repository has been archived by the owner on Feb 9, 2023. It is now read-only.

brunch/react-livejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

const liveJs = require('react-livejs/config');

// ...
babel: {
  presets: ['es2015', 'react'],
  env: {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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published