Single Page Apps, REACT ROUTER - KatyaHorton/Udacity-React-practice GitHub Wiki

Single Page App:

  1. does not mean it's only one page in the app
  2. it means that the browser does not need to go each time to the server for the new pages
  3. JS handles the transition between the pages
  4. it's only single initial page
  5. than:
  • either app loads by downloading the entire page all at once
  • or when the user navigates to a new page, asynchronous JavaScript requests are made for just the content that was requested

REACT ROUTER

  • React library
  • tool which allows us to build single page apps

React Router is a collection of navigational components that compose declaratively with your application.