Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript React Router Basics Getting Started with React Router Installing React Router and Declaring a Route

Gonzalo Muro
Gonzalo Muro
5,281 Points

The <Route> and <Router>'s links in the Teacher's Notes section are broken.

When I click the link it send me to a 404 github page.

Hi Gonzalo, when this tutorial was created the react-router version was 2.7.0, and the current version is 4.1.1. The linked documentation points to the "master" branch with the latest code, so here is the documentation linking to the 2.7.0 documentation of these items:



Please note, if you just ran npm install --save react-router as instructed, you will have react-router 4.1.1 which uses a different syntax than this tutorial. You will want to install react-router-dom instead and you can use the answers provided in another question to import HashRouter instead of Router