A hook that returns a monitor snapshot, or only the part picked by selector. With a selector, the component re-renders only when the selected value changes.
selector
Optional
A hook that returns a monitor snapshot, or only the part picked by
selector. With a selector, the component re-renders only when the selected value changes.