- react set up with two main views