# Listeners
Sometimes you need to subscribe to all state changes. In order to do that, call store.listen
.
store.listen((state, prior) => { /* Called on every state change */ });
Unifire does not currently support removing a listener.
Sometimes you need to subscribe to all state changes. In order to do that, call store.listen
.
store.listen((state, prior) => { /* Called on every state change */ });
Unifire does not currently support removing a listener.