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.
- Fluxible Routing - Simple isomorphic routing using Fluxible.
- React Routing - Isomorphic routing using react-router.
- To Do - Port of ToDo MVC.
Alternatively, for a fully featured application you can check out the fluxible.io docs website repository for more integration examples:
Want more examples? Check out our community reference applications.
npm install cd <folder> npm run dev
For more information on what's going on, you can use
DEBUG=* node to see full
debug output on the server.
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.