Skip to content

Latest commit

 

History

History
17 lines (10 loc) · 744 Bytes

File metadata and controls

17 lines (10 loc) · 744 Bytes

Wine list page

Creating the WineListPage component is exactly the same as creating the RegionsPage component:

  • fetch data from the API,
  • manage clics on the wines to navigate to the wine details page.

Remember, WineListPage is a Smart Component (it uses its state) and WineList must not be modified (it is a Dumb Component that only uses its props).

The component tree should look like:

Wine list page

No more help here because it is quite easy to create the WineListPage component 😉

What's next

When it works, go to the next step to create the WinePage component.