Redux Toolkit · Type Alias
Selector
Selectors are functions that read Redux state and return selected or derived data. They can hide state shape and memoize expensive calculations.
Last updated
Syntax
const selectValue = (state: RootState) => state.value
const selectDerived = createSelector([selectInput], input => derive(input))In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
createSelectoruseSelectorgetStateReselectRedux ToolkitReact-Redux