What is the purpose of the 'exact' prop in a <Route> component?
The 'exact' prop in a <Route> component is used to make the route match exactly with the URL path. Without the 'exact' prop, the route will match any URL that starts with the specified path.