Skip to content

epicweb-dev/get-started-with-react-router

Repository files navigation

Learn the fundamentals of the React Router library

In this workshop you'll get going with React Router from the very beginning all the way to creating routes with dynamic segments, layout routes, nested routes, and linking between all of these different kinds of routes. It's a perfect start to your routing journey.



Build Status GPL 3.0 License Code of Conduct

Prerequisites

  • Basic understanding of HTML, CSS, JavaScript, and TypeScript
  • Install the React DevTools
  • You should be experienced with building custom React components

System Requirements

  • git v2.18 or greater
  • NodeJS v18 or greater
  • npm v8 or greater

All of these must be available in your PATH. To verify things are set up properly, you can run this:

git --version
node --version
npm --version

If you have trouble with any of these, learn more about the PATH environment variable and how to fix it here for windows or mac/linux.

Setup

This is a pretty large project (it's actually many apps in one) so it can take several minutes to get everything set up the first time. Please have a strong network connection before running the setup and grab a snack.

Warning: This repo is very large. Make sure you have a good internet connection before you start the setup process. The instructions below use --depth to limit the amount you download, but if you have a slow connection, or you pay for bandwidth, you may want to find a place with a better connection.

Follow these steps to get this set up:

git clone --depth 1 https://github.com/epicweb-dev/get-started-with-react-router.git
cd get-started-with-react-router
npm run setup

If you experience errors here, please open an issue with as many details as you can offer.

The Workshop App

Learn all about the workshop app on the Epic Web Getting Started Guide.

Kent with the workshop app in the background