ShouldRebuild<T> typedef
ShouldRebuild<T> =
bool Function(T previous, T next)
Whether a Selector builds again now that what it selects went from
previous to next.
Implementation
typedef ShouldRebuild<T> = bool Function(T previous, T next);