Product filter
1.5 hShow products from DummyJSON and filter them by category and price.
- Fetch products in a useEffect with a loading state
- Add a category select and a max-price slider
- Work out the filtered list from state instead of storing it twice
- Show a message when nothing matches
Done when: Changing either filter updates the list instantly with no extra requests.
- useState
- useEffect
- Derived state