FAQ: React Router - What is routing?

This community-built FAQ covers the “What is routing?” exercise from the lesson “React Router”.

Paths and Courses
This exercise can be found in the following Codecademy content:

React Router
(Beta) Learn React Router

FAQs on the exercise What is routing?

There are currently no frequently asked questions associated with this exercise – that’s where you come in! You can contribute to this section by offering your own questions, answers, or clarifications on this exercise. Ask or answer a question by clicking reply (reply) below.

If you’ve had an “aha” moment about the concepts, formatting, syntax, or anything else with this exercise, consider sharing those insights! Teaching others and answering their questions is one of the best ways to learn and stay sharp.

Join the Discussion. Help a fellow learner on their journey.

Ask or answer a question about this exercise by clicking reply (reply) below!
You can also find further discussion and get answers to your questions over in Language Help.

Agree with a comment or answer? Like (like) to up-vote the contribution!

Need broader help or resources? Head to Language Help and Tips and Resources. If you are wanting feedback or inspiration for a project, check out Projects.

Looking for motivation to keep learning? Join our wider discussions in Community

Learn more about how to use this guide.

Found a bug? Report it online, or post in Bug Reporting

Have a question about your account or billing? Reach out to our customer support team!

None of the above? Find out where to ask other questions here!

I thank Codecademy for finally bringing React Router into the lessons.

Yet why v5?

React Router v6 is the latest version and the functions are kinda different from v5 and by learning in v5, you have to go and learn v6 separately since everywhere will be using that version soon.

I really hope Codecademy updates this specific course to the latest version of React Router.

6 Likes

Totally agree. I’m hesitant to start learning something that I’m immediately going to need to unlearn. I will be skipping this content and looking for up-to-date material elsewhere.

4 Likes

6 months on and still no update…
It seems lazy to me to just write a small update that React Router v6 is the way to go, yet the course that is supposed to teach me this doesn’t bother with updating their lessons, and keeps them a mandatory part of finishing the front-end course.

Having to knowingly learn and unlearn something (via a different source) doesn’t seem a very effective strategy to becoming a developer.

I hope the Codecademy team will consider updating these lessons, and try to keep their lessons relevant to changing technologies.

2 Likes

Challenge: write this project in v6

For anyone who’s interested in an extra challenge, try to write this project with React Rooter v6.
Reply to this comment if you’re in :smiley:
I will try my best myself.

2 Likes

More outdated content, we love to see it

1 Like

Hello everyone :slight_smile:
Just like a lot of people here I was disappointed to see that the content for the React Router lesson is outdated ( v5). I took the challenge, and tried to do my best to update the starter code, and the lessons tasks, so it all could be working with React Router version 6. I am attaching link to my project on GitHub. In the README file you can find description of what I did in the project. Please feel free to use it as a guide, or let me know if you think something else could be improved!

1 Like

Hi!

Team Codecademy, why is this part not updated yet?

Best regards,
Carl

Kudos to you. I was in quite a rut, so hadn’t come to finishing it myself yet.

1 Like

I’m finished too. here’s mine

A whole year later, still the same outdated lesson. I know MORE MORE MORE content is more exciting than maintaining existing content, but seriously Codecademy, this is getting ridiculous. The earlier parts of this Full Stack course have been educational and up to date, but this entire React section feels stubbornly out of date and unhelpful. If this keeps up I will be asking for my money back and look elsewhere for my learning.

1 Like

I keep getting this error code: { error:0308010C:digital envelope routines::unsupported } when I use npm start. My node is up to date, anybody know the solution?

I agree with everyone else. The content is a year out of date by now. It should have been updated months ago. I followed this tutorial instead on the react router page and will skip the one here for now

1 Like

Not only is this content one year behind: this lesson comes in in the Front End Developer Path before the React-Redux content, which is critical to understand what is happening under the hood. The App example is so complicated that obscures the graspable mechanics of Reat-Router (which itself does not have quite a friendly documentation).
After two weeks in this React-Router ■■■■ (why does Codecademy censor the word "h e l l "???), I went for this introduction which helped me quite a lot. I will come back to this section after React-Redux to see if I can wrap my head around this mess, but at this point I am frightened about what Is waiting for me at the Redux Codecademy realms…

Hi, I found the separate course for React Router v6 on CodeAcademy, so you might be interested in it.
https://www.codecademy.com/learn/learn-react-router

1 Like

That seems like what should be in the front end engineer career path instead of whats there now. I’ll try it out once I’m finished with the project I’m working on now. I fount the tutorial in the react router documentation quite confusing and hard to grasp so hopefully this one is better, I like the style of Codecademys lessons so I think it will be