Describe how to use React Router for implementing navigation.
Instruction: Explain the role of React Router in a React application and illustrate how to set up basic routing.
Context: This question evaluates the candidate's experience with client-side routing in React applications using React Router.
Updated
Official answer available
Read the opening below, then unlock the full answer and practical guidance.
I would wrap the application in BrowserRouter, define routes, and use Link for internal navigation...