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.
medium