forked from CodeYourFuture/React-Module-Project
-
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🐇 Size SmallAround an hourAround an hour📅 Week 2Assigned during Week 2 of this moduleAssigned during Week 2 of this module🧩 Feature
Description
Instructions:
Extract the <li> containing "Pizzas" from the <Restaurant /> component to a new component named Order. Also, move the declaration of the orders state and the orderOne function from the <Restaurant /> component to the new <Order /> component. Use the <Order /> component in the <ul> list of the <Restaurant /> component.
Dependent on #11
Test:
- The pizza order is still rendered on the page
- Clicking on the "Add" button still increments the number of orders.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
♟️ Dependent ticketThis ticket depends on something else being completed first this sprintThis ticket depends on something else being completed first this sprint🐇 Size SmallAround an hourAround an hour📅 Week 2Assigned during Week 2 of this moduleAssigned during Week 2 of this module🧩 Feature