The component mixin makes the fluxapp context's getStore method available to the component.
React.createClass({
mixins: [fluxapp.mixins.component],
getInitialState: function() {
var store = this.getStore('name');
return {
name: store.getState()
};
}
});