Skip to content

Commit

Permalink
docs(other-api/react-router): update links to react-router docs (re…
Browse files Browse the repository at this point in the history
…mix-run#3253)

* Docs: update links to new react-router docs

* Update contributors.yml

* always link to latest version of docs

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>

Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
  • Loading branch information
2 people authored and eastlondoner committed Jun 8, 2022
1 parent b5be362 commit 61ac9b0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions contributors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
- jiahao-c
- jkup
- jmasson
- JNaftali
- jo-ninja
- joaosamouco
- jodygeraldo
Expand Down
10 changes: 5 additions & 5 deletions docs/other-api/react-router.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ toc: false

Remix is built on top of React Router v6. Here are the most common APIs that you'll use in your Remix app:

- [`Outlet`](https://reactrouter.com/docs/api#outlet)
- [`useLocation`](https://reactrouter.com/docs/api#uselocation)
- [`useNavigate`](https://reactrouter.com/docs/api#usenavigate)
- [`useParams`](https://reactrouter.com/docs/api#useparams)
- [`useResolvedPath`](https://reactrouter.com/docs/api#useresolvedpath)
- [`Outlet`](https://reactrouter.com/docs/components/outlet)
- [`useLocation`](https://reactrouter.com/docs/hooks/use-location)
- [`useNavigate`](https://reactrouter.com/docs/hooks/use-navigate)
- [`useParams`](https://reactrouter.com/docs/hooks/use-params)
- [`useResolvedPath`](https://reactrouter.com/docs/hooks/use-resolved-path)

Most of the other APIs are either used internally by Remix or just aren't commonly needed in your app.

0 comments on commit 61ac9b0

Please sign in to comment.