- Draw a component diagram. Draw boxes around the components you believe are needed for this application
- In your reaact learning folder, create a new react app called bakery-app
npx create-react-app bakery-app
- Create the necessary components to render the data to the page
- Write a helper function to format the cost with two decimal places
- Add an
Add to favs
button to each item - When you click the button, log the name of the food item
When you click the button...
- the button text toggles between "Add to favs" and "Remove from favs"
- add the name of the bakery item to a favorites list