Version: Next
useMemoSelector()
This hook allows to select redux state efficiently and in a memoized way. it uses createSelector to make sure selector is not recomputed unless one of its arguments changes. it also uses react-fast-compare to prevent unnecessary updates.
#
Argumentsselector()||statePath''
#
selector()
#
function that selects from the state. receives 1 argument
statePath
#
path of the nestable state to be selected
result()
#
function that returns the result of the selected state
equality()
#
function that compare prevState against newState to determine if selected state has changed. defaults to react-fast-compare