Test it here
-
Make requests and consume data from an
API; -
Use life cycles of a React component;
-
Use the
setStatefunction to ensure that a particular code is only executed after the state is updated -
Use the
BrowserRoutercomponent correctly; -
Create routes, mapping the URL path with the corresponding component via
Route; -
Use
React RouterSwitch -
Use the
Redirectcomponent to redirect to a specific route; -
Create navigation links to the application with the
Linkcomponent;
A React App that consumes data from the Apple Music API and lets you search for an artist's name, view its albums, and play song previews/ add to favorites.