Type alias Selector<State, Selected>

Selector<State, Selected>: ((state) => Selected)

A Selector derives some sub-part or computed value from a RootState in a @watchable/store Store. Object.is(prev, next) is normally used to compare with the previous resultfrom the same Selector to monitor if some part has changed, defining when app logic should be re-run.

Type Parameters

Type declaration