Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

RickWong/react-isomorphic-starterkit

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

screenshot

React Isomorphic Starterkit

Isomorphic starterkit with server-side React rendering using npm, koa, webpack, babel, react, react-router, react-transform-hmr, react-transmit, react-inline-css

version license Package Quality installs downloads

Features

  • Fully automated toolchain with npm run scripts
  • React 0.14 + React Router 2.0 on the client and server
  • Babel 6 automatically compiles ES2015 + ES7 stage-0
  • Webpack HMR for instant server updates
  • React Transform HMR for instant client updates
  • React Transmit to preload on server and hydrate client
  • InlineCss-component for styling components

It just works out-of-the-box.

Installation

Development

git clone https://github.com/RickWong/react-isomorphic-starterkit.git
cd react-isomorphic-starterkit
	
npm install
npm run watch     # Yes, ONE command for both server AND client development!

Production

npm run build
npm run start  

Usage

Run npm run watch in your terminal and play with views/Main.js to get a feel of the server-side rendering and client-side hot updates.

Community

Let's start one together! After you ★Star this project, follow @Rygu on Twitter.

License

BSD 3-Clause license. Copyright © 2015, Rick Wong. All rights reserved.