Skip to content
This repository was archived by the owner on Nov 24, 2024. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Readme.md

React-Flux app

In this example every store reflects the state of the app given a URL, this way is easy to render server-side, plus it's the recommended way.

Note: All changes are lost when refreshing the page, there is no persistence.

Build

$ npm install  # requires Node.js to be installed on the system
$ npm run bundle  # builds ./src/bundle.js

$ pip install python-react-v8
$ python build.py  # creates ./index.html

$ npm run start_static  # start dev server and serve ./index.html

Open http://localhost:3000/ in a web-browser.

Resources