#flux-examples
Example isomorphic Flux applications using Fluxible, fluxible-plugin-routr, and fluxible-plugin-fetchr.
The server-side rendered React components and store instances get dehydrated and sent to the client using express-state. The client.js (compiled by webpack) then bootstraps and rehydrates the dispatcher instance and the stores to same state as what they were on the server.
There are multiple examples in this repo:
- Chat - Port of Facebook's Flux chat example
- Routing - Simple isomorphic routing in flux flow
- To Do - Port of ToDo MVC
npm install
cd <folder>
npm run build
npm start
For more information on what's going on, you can use DEBUG=* node
to see full debug output on the server.
We have a ton of ideas for where to go with this to eventually have a full suite of tools to create isomorphic Flux applications. We have some things in mind already, so see what we're up to by looking at our issues.
Unless otherwise specified, this software is free to use under the Yahoo! Inc. BSD license. See the LICENSE file for license text and copyright information.