redux-thunk-state-adapter
A utility to provide a facade of getState to an externally owned thunk. This is useful when you are sharing action creators which compose selectors that assume a certain state shape.
Usage
;; // provide a transform function to map InternalState -> ExternalStateconst externalThunkAdapter = ; const adaptedExternalThunk = ;