Capgemini Engineering interview question

How do you handle routing in React?