Skip to content

Instantly share code, notes, and snippets.

@rogerwschmidt
Last active May 21, 2018 16:27
Show Gist options
  • Save rogerwschmidt/6c018b114806e0d7859a2350562f8c97 to your computer and use it in GitHub Desktop.
Save rogerwschmidt/6c018b114806e0d7859a2350562f8c97 to your computer and use it in GitHub Desktop.

React Router Instructor Notes

Objectives

  • Install react-router-dom
  • Use react router to create simple client side routes
  • User react router to create nested client side routes

Resources

How do you install react-router-dom

  • Create a new react application react-router-example
  • npm install react-router-dom

How do you use react router for simple client side routes

  • Create multiple simple route
  • Create Links to traverse routes
  • Use an event to traverse routes

How do you use react router to create nested client side routes

  • Create a nested route
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment