Glossary: React Beyond the Basics
selector
Also written: selectors
A function passed to a Zustand store hook that picks the part of the state a component needs. The component re-renders only when that selected value changes.
Glossary: React Beyond the Basics
Also written: selectors
A function passed to a Zustand store hook that picks the part of the state a component needs. The component re-renders only when that selected value changes.