Skip to content

Isomorphic React + Flux examples using Dispatchr, Fetchr, and Routr.

License

Notifications You must be signed in to change notification settings

jardakotesovec/flux-examples

 
 

Repository files navigation

#flux-examples

Dependency Status devDependency Status

Example isomorphic Flux applications using fluxible-app, 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:

Usage

npm install
cd <folder>
npm run build
npm start

Open http://localhost:3000

For more information on what's going on, you can use DEBUG=* node to see full debug output on the server.

What's Next

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.

License

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.

About

Isomorphic React + Flux examples using Dispatchr, Fetchr, and Routr.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.0%
  • CSS 13.0%