Capgemini Engineering Interview Question

How do you handle routing in React?