Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 501 Bytes

File metadata and controls

14 lines (10 loc) · 501 Bytes

Exercise 2

Goal

Make the two screens built in Exercise 1 dynamic.

Requirements

  1. In the products page, get the data from this API.
  2. In the products show page, get the date from this API.
  3. In the product show page, display quantity.

Tips/Hints

  1. Use react-query library
  2. Read params from URL using useParams from react-router-dom