Plugins allow us to register stores, actions and custom context methods. They can be useful for adding features on top of fluxapp.
var plugin = {
stores: {
name: {
//definition
}
},
actions: {
namespace: {
method: handler
}
},
contextMethods: {
functionName: function() {}
}
};
fluxapp.registerPlugin('myPlugin', plugin);
On to Existing Plugins