StoreHookPreviousState<S> constructor

StoreHookPreviousState<S>(
  1. StoreHookPreviousStateBody<S> closure
)

Implementation

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