Momentum logo
Team 12 Classroom

🦊 URL Routing in React 🦊

Posted on Jun 2nd, 2022

Today’s topics

  • React Router
  • User log in
  • Using local storage with state to store an auth token

🎯 Project

You should have detailed wireframes and a user flow outline by now, and components for at least the initial β€œpage” your user is going to see when they arrive at your site. By tomorrow, you should be able to make requests for questions and answers. Deploy to Netlify as soon as possible (πŸ’‘ Your code needs to run locally with no errors before you can deploy it).

πŸ“– Read | πŸ“Ί Watch | 🎧 Listen

⚠️ These two resources are for older versions of React Router, so you will see some outdated syntax. For instance Switch, Redirect, and the component prop on Route exist only in versions of React Router earlier than version 6. However, the main concepts are the same, so these resources can still help you understand the context and usage of React Router.

πŸ”– Resources

πŸ‘Ύ Code

Back to home