References
summary | ||
public |
F createEvent(): function Creates a new event that allows subscribers to add and remove event handlers. |
|
public |
F globalReducer(initialValue: Object, reducer: Object, onStateChange: function(state: Object)): function(selector: function = undefined, onComponentStateChanged: function = undefined): [Object, Object] Creates a global reducer for use within any number of components. |
|
public |
F usePromise(promise: Promise): [Object, Error, boolean] Use a promise and receive [data, error, loading] values. |