Menu
Redux LogoRedux Toolkit
Quick StartAPIGitHub
๐ŸŒœ
๐ŸŒž
Redux LogoRedux Toolkit
  • Quick Start
  • API
  • GitHub
  • Introduction
    • Quick Start
  • Tutorials
    • Basic Tutorial
    • Intermediate Tutorial
    • Advanced Tutorial
  • Using Redux Toolkit
    • Usage Guide
    • Usage With TypeScript
  • API Reference
    • Store Setup
      • configureStore
      • getDefaultMiddleware
      • Immutability Middleware
      • Serializability Middleware
    • Reducers and Actions
      • createReducer
      • createAction
      • createSlice
      • createAsyncThunk
      • createEntityAdapter
    • Other
      • createSelector
      • Other Exports

createSelector#

The createSelector utility from the Reselect library, re-exported for ease of use.

For more details on using createSelector, see:

  • The Reselect API documentation
  • React-Redux docs: Hooks API - Using memoizing selectors
  • Idiomatic Redux: Using Reselect Selectors for Encapsulation and Performance
  • React/Redux Links: Reducers and Selectors

Note: Prior to v0.7, RTK re-exported createSelector from selectorator, which allowed using string keypaths as input selectors. This was removed, as it ultimately did not provide enough benefits, and the string keypaths made static typing for selectors difficult.

Previous
ยซ createEntityAdapter
Next
Other Exports ยป

Docs

  • Quick Start
  • API Reference

Community

  • Stack Overflow
  • Discord

More

  • GitHub
  • Deploys by Netlify
Redux Logo
Copyright ยฉ 2015โ€“2020 Dan Abramov and the Redux documentation authors.