Closed atherdon closed 5 years ago
By using names on methods from this page In order to make it better, we'll create set of constants, each for a different method.
Example: Method that toggle purchased item(ingredient) will became export const TOGGLE_PURCHASED_ITEM = "TOGGLE_PURCHASED_ITEM ";
export const TOGGLE_PURCHASED_ITEM = "TOGGLE_PURCHASED_ITEM ";
By using names on methods from this page In order to make it better, we'll create set of constants, each for a different method.
Example: Method that toggle purchased item(ingredient) will became
export const TOGGLE_PURCHASED_ITEM = "TOGGLE_PURCHASED_ITEM ";