Returns the current state tree of the Subscription Manager. It is equal to the last value returned by the store's reducer. See https://redux.js.org/api/store#getstate for more details.
Adds a change listener. It will be called any time an action is dispatched, and some part of the state tree may potentially have changed. You may then call getState() to read the current state tree inside the callback.
The Redux store the whole state tree of Subscription Manager application. The only way to change the state inside it is to dispatch an action by calling dispatch method or running a specific saga middleware using the dispatch method.
NOTE: Dispatches are not considered part of Ordergroove's public API. Custom development using dispatches is subject to break without notice.
As documented in the API section, the Subscription Manager store is accessible through
window.og.smi.store
.