StoreHookPreviousState<S> constructor
StoreHookPreviousState<S> (
- StoreHookPreviousStateBody<
S> closure
Implementation
StoreHookPreviousState(StoreHookPreviousStateBody<S> closure) : super(
(store, state, action) => closure(store.getPreviousStateUnsafe()?.state, state, action)
);