This website works better with JavaScript.
Home
Explore
Help
Sign In
lukechilds
/
react.dev
mirror of
https://github.com/lukechilds/react.dev.git
Watch
1
Star
0
Fork
0
Code
Issues
Projects
Releases
Wiki
Activity
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
233
Commits
2
Branches
0
Tags
148 MiB
Tree:
e484a734b5
lukechilds-patch-1
main
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'e484a734b5'
${ noResults }
react.dev
/
docs
/
index.html
5 lines
59 B
Raw
Normal View
History
Redirect /docs to the right page I've hit this a few times where I want to get to docs so I take whatever my urlbar gives me and strip out the actual page so I can get to the root, however that's a 404. This introduces a super easy way to redirect, which could be handy in the future as docs get rewritten. I would much rather do this with a real htaccess file or even just handle 404s gracefully, but that's not currently an option with GitHub pages (since we generate our own and don't use a custom domain).
11 years ago
---
layout: redirect
destination: getting-started.html
---