Skip to content

rememberReducer

Wraps your reducers to enable state persistence.

rememberReducer(reducers: Reducer | ReducersMapObject): Reducer
  • reducers (required)
    • Type: Reducer | ReducersMapObject
    • Description: Either the result of combineReducers() or a map of reducers (which will be combined internally, similar to Redux Toolkit’s configureStore)
  • Type: Reducer
  • Description: A new root reducer to use with configureStore() (Redux Toolkit) or createStore() (plain Redux)