getMutableReducer
Prerequisites
Please read about createDuck first before continue here. You nee a basic understanding about its API first.
Generate a mutable reducer
The method getMutableReducer
takes care about connecting your case-reducer functions with immer and finally builds a reducer function that can be registered in the Store.
You will find a full example of a mutable facade at StackBlitz.
Last updated
Was this helpful?