PureCode Software interview question

How do you implement routing in a React application?