Fluxapp stores take care of binding the action types to the store, there are multiple ways the actions can be defined, we will give some examples here;

Via String Action Type

fluxapp.registerStore('user', {
  actions: {
    // bind the onLogout method to action result of user.logout 
    onLogout: 'user.logout' 
  },
  
  onLogout: function() {
    var sessionStore = this.getStore('session');
  }
});

Via Array of Action Types

fluxapp.registerStore('user', {
  actions: {
    // set state directly with the result of login / logout user action
    setState: ['user.logout', 'user.login']
  }
});

👍

On to Context Property