I\'m using React hook useReducer to manage the state of a cart-like application. My cartReducer is used to handing adding/removing/changing quantity of
useReducer
cartReducer