GitHub

daffCartReducer

Reducer

import { daffCartReducer } from '@daffodil/cart/state'

Calls each of the individual cart reducers in turn, passing the returned state into the next.

Parameters

Parameterstate: DaffCartReducerState<any>
DefaultdaffCartReducerInitialState
Description
Parameteraction: ActionTypes<T, DaffCartItemInput, DaffCartOrderResult>
Description