Upgrade react and react-router to the latest version.