React-router: Broken react-prop link in documentation

Created on 31 Mar 2017  路  3Comments  路  Source: ReactTraining/react-router

I was reviewing the documentation found here and when I went to click on the route-props link it was nonexistent.

Link: https://reacttraining.com/web/api/Route/route-props

Note I just realized that this is only an issue when opening the link in a new tab. By just clicking the link it seems to scroll back up to the top of the Route documentation.

bug

Most helpful comment

Just tested it locally as well and it works for me. This commit https://github.com/ReactTraining/react-router/commit/0ccb8fd14fab85e7456d766f4c2f407e32111890 _might_ be where it got fixed. It has been a while, so I don't actually recall exactly what the issue was (and I obviously didn't do a very good job documenting it with my above comment :man_facepalming:).

The bug still exists on the production site, but I'm not sure when that was last updated. There have been a few fixes, so it wouldn't hurt to push a new build.

All 3 comments

There seem to be issues with the markdown-loader that it used to compile the website. When I compile the site locally, I get a bunch of URIs with undefined segments.

I am unable to reproduce this locally. Can you please confirm this is still an issue for you on the latest master?

Just tested it locally as well and it works for me. This commit https://github.com/ReactTraining/react-router/commit/0ccb8fd14fab85e7456d766f4c2f407e32111890 _might_ be where it got fixed. It has been a while, so I don't actually recall exactly what the issue was (and I obviously didn't do a very good job documenting it with my above comment :man_facepalming:).

The bug still exists on the production site, but I'm not sure when that was last updated. There have been a few fixes, so it wouldn't hurt to push a new build.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ArthurRougier picture ArthurRougier  路  3Comments

ryansobol picture ryansobol  路  3Comments

maier-stefan picture maier-stefan  路  3Comments

Waquo picture Waquo  路  3Comments

winkler1 picture winkler1  路  3Comments