From e84f4449f265eb8f493e621f4b4fdfa968d4e37f Mon Sep 17 00:00:00 2001 From: Mathew Norman Date: Mon, 29 Apr 2024 23:28:35 +1000 Subject: [PATCH] Update adding-a-router.md Updated the old, dead links for the react router basic example and tutorial with the current ones --- docusaurus/docs/adding-a-router.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docusaurus/docs/adding-a-router.md b/docusaurus/docs/adding-a-router.md index eae27dc501f..aec106cca2c 100644 --- a/docusaurus/docs/adding-a-router.md +++ b/docusaurus/docs/adding-a-router.md @@ -17,6 +17,6 @@ Alternatively you may use `yarn`: yarn add react-router-dom ``` -To try it, delete all the code in `src/App.js` and replace it with any of the examples on its website. The [Basic Example](https://reactrouter.com/docs/examples/basic) is a good place to get started. For more info on adding routes, check out [the React Router docs on adding routes](https://reactrouter.com/docs/getting-started/tutorial#add-some-routes). +To try it, delete all the code in `src/App.js` and replace it with any of the examples on its website. The [Basic Example](https://github.com/remix-run/react-router/blob/dev/examples/basic/README.md) is a good place to get started. For more info on adding routes, check out [the React Router docs on adding routes](https://reactrouter.com/en/start/tutorial). Note that [you may need to configure your production server to support client-side routing](deployment.md#serving-apps-with-client-side-routing) before deploying your app.