Dehydrate is an essential component to the isomorphic capabilities of fluxapp, it allows us to extract the state which has been modified during the server request and rehydrate it on the client side.

Dehydrate all stores that have been registered with the context, primarily used to pass state initiated on the server down to the client.

var context = fluxapp.createContext();

// run actions

var state = context.dehydrate(); // only exports what was changed

👍

On to rehydrate(state)