The 'useParams' hook is used to access URL parameters in a functional component. This allows you to retrieve dynamic segments of the URL and use them within your component.
Question 12 of 19 in Route Quiz