StateObserver
It can be useful to be able to observe all the state changes in a store (for logging purpose for example).
In that case you’ll need to create a StateObserver
and pass it to the StateStore
you want to observe:
It can be useful to be able to observe all the state changes in a store (for logging purpose for example).
In that case you’ll need to create a StateObserver
and pass it to the StateStore
you want to observe: