What is the purpose of the 'exact' prop in <Route> components inside a <Switch>?
The 'exact' prop in <Route> components inside a <Switch> ensures that the route matches the exact path. Without it, the route will match any path that starts with the specified path.