Skip to content
masterclass Buddy

Redux Toolkit · Type Alias

Middleware

Redux middleware wraps dispatch to add behavior such as logging, async control, and side effects. With Redux Toolkit, add custom middleware through configureStore while keeping the default middleware.

Last updated

Syntax

configureStore({ reducer, middleware: getDefaultMiddleware => getDefaultMiddleware().concat(customMiddleware) })

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • configureStore
  • getDefaultMiddleware
  • createListenerMiddleware
  • createAsyncThunk
  • thunk
  • serializability check middleware

Source: Usage Guide | Redux. Checked 2026-11-03.