You handle optional URL parameters by using a question mark in the route path, e.g., /user/:id?.
Question 16 of 20 in useParams Quiz