How to Create a Single Page Application with React?