Heliverse interview question

How routing is done in ReactJS