Part of the zustand package: install zustand and import these from zustand/react/shallow.
Functions
useShallow
tsfunction useShallow<S, U>(selector: (state: S) => U): (state: S) => U
Part of the zustand package: install zustand and import these from zustand/react/shallow.
useShallowtsfunction useShallow<S, U>(selector: (state: S) => U): (state: S) => U
Was this page helpful?