reducers Īn object containing Redux "case reducer" functions (functions intended to handle a specific action type, equivalent ![]() Generated action type constants will use this as a prefix. name Ī string name for this slice of state. This will be used whenever the reducer is called with undefined as its state value, and is primarily useful for cases like reading initial state from localStorage. ![]() This may also be a "lazy initializer" function, which should return an initial state value when called. The initial state value for this slice of state.
0 Comments
Leave a Reply. |