EqualityFn
Type: Function
Type definition of an equality checking function that compares the previous state with the upcoming state and returns true if they are considered equal or false if otherwise.
This should be a pure function.
Some presets are available in the Equality object.
type EqualityFn<State> = (previousState: State, nextState: State) => boolean