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 access the new state
.
A callback to be invoked on every dispatch.
A function to remove this change listener.
Readonly
Internal
[stateThe readonly internal state of the headless engine.
Readonly
configurationThe readonly global headless engine configuration
Dispatches an action directly. This is the only way to trigger a state change. Each headless controller dispatches its own actions.
The logger instance used by headless.
The navigator context (referer, location, UserAgent)
The Relay instance used by Headless.
The SSR commerce engine.