Skip to content
masterclass Buddy

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.

Subscribe
  • createSelector
  • useSelector
  • getState
  • Reselect
  • Redux Toolkit
  • React-Redux

Source: Deriving Data with Selectors | Redux. Checked 2026-11-03.