The <Switch> component is used to group multiple routes in React Router. It renders the first child <Route> or <Redirect> that matches the location.
Question 1 of 20 in Switch Quiz