Skip to content

Commit c3cfbdc

Browse files
Brandon ScottTheSisb
andauthored
fix(docs): update react-router quick start link (#3014)
Co-authored-by: Shadi <[email protected]>
1 parent 62983ad commit c3cfbdc

File tree

1 file changed

+2
-2
lines changed
  • packages/paste-website/src/pages/components/anchor

1 file changed

+2
-2
lines changed

packages/paste-website/src/pages/components/anchor/index.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ You can use an anchor to navigate the user to another webpage.
135135

136136
There are many different React based routers. For example there is:
137137

138-
- [React Router](https://reactrouter.com/web/guides/quick-start)
138+
- [React Router](https://reactrouter.com/en/main/start/tutorial)
139139
- [Reach Router](https://reach.tech/router/)
140140
- [NextJs Link](https://nextjs.org/docs/api-reference/next/link)
141141
- [Gatsby Link](https://www.gatsbyjs.com/docs/reference/built-in-components/gatsby-link/).
@@ -144,7 +144,7 @@ They unfortunately all work slightly differently, have different APIs, and many
144144

145145
Anchor is just a styled HTML anchor element. You should be able to use it with any React based router. It just means that you need to do a little work to wire it up inside your application.
146146

147-
There are many different ways you can achieve this based on the router you are using, but as an example we include a Codesandbox below using [React Router](https://reactrouter.com/web/guides/quick-start), to give you a rough guide on how you might approach it.
147+
There are many different ways you can achieve this based on the router you are using, but as an example we include a Codesandbox below using [React Router](https://reactrouter.com/en/main/start/tutorial), to give you a rough guide on how you might approach it.
148148

149149
<iframe
150150
src="https://codesandbox.io/embed/using-anchor-with-react-router-butmi?fontsize=14&hidenavigation=1&theme=dark"

0 commit comments

Comments
 (0)