hadron-app-registry
Hadron App Registry
Installation
npm install --save hadron-app-registry
Usage
const AppRegistry = require('hadron-app-registry');
var registry = new AppRegistry();
registry.registerAction('Action::MyAction', action);
registry.registerComponent('Component::MyComponent', component);
registry.registerStore('Store::MyStore', store);
registry.actions;
registry.components;
registry.stores;
registry.getAction('Action::MyAction');
registry.getComponent('Component::MyComponent');
registry.getStore('Store::MyStore');
registry.deregisterAction('Action::MyAction');
registry.deregisterComponent('Component::MyComponent');
registry.deregisterStore('Store::MyStore');
License
Apache 2.0