Test it here
-
Make requests and consume data from an
API
; -
Use life cycles of a React component;
-
Use the
setState
function to ensure that a particular code is only executed after the state is updated -
Use the
BrowserRouter
component correctly; -
Create routes, mapping the URL path with the corresponding component via
Route
; -
Use
React Router
Switch
-
Use the
Redirect
component to redirect to a specific route; -
Create navigation links to the application with the
Link
component;
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.