From d06ed569a1725dee5a67ac6198eca4981181c3f6 Mon Sep 17 00:00:00 2001
From: amanlabh
Date: Wed, 24 Dec 2025 00:46:20 +0530
Subject: [PATCH 1/2] Update React documentation links from reactjs.org to
react.dev
- Update links in template README files (JS and TypeScript)
- Update links in template App components (JS and TypeScript)
- Update main README.md documentation links
- Update docusaurus documentation intro page
This updates all references to the old reactjs.org domain to the new
react.dev domain, ensuring users are directed to the current React
documentation.
---
README.md | 4 ++--
docusaurus/docs/documentation-intro.md | 2 +-
packages/cra-template-typescript/template/README.md | 2 +-
packages/cra-template-typescript/template/src/App.tsx | 2 +-
packages/cra-template/template/README.md | 2 +-
packages/cra-template/template/src/App.js | 2 +-
6 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index e56eda93e40..8ab5220dbb5 100644
--- a/README.md
+++ b/README.md
@@ -179,7 +179,7 @@ Create React App is a great fit for:
Here are a few common cases where you might want to try something else:
-- If you want to **try React** without hundreds of transitive build tool dependencies, consider [using a single HTML file or an online sandbox instead](https://reactjs.org/docs/getting-started.html#try-react).
+- If you want to **try React** without hundreds of transitive build tool dependencies, consider [using a single HTML file or an online sandbox instead](https://react.dev/learn/start-a-new-react-project#try-react).
- If you need to **integrate React code with a server-side template framework** like Rails, Django or Symfony, or if you’re **not building a single-page app**, consider using [nwb](https://github.com/insin/nwb), or [Neutrino](https://neutrino.js.org/) which are more flexible. For Rails specifically, you can use [Rails Webpacker](https://github.com/rails/webpacker). For Symfony, try [Symfony's webpack Encore](https://symfony.com/doc/current/frontend/encore/reactjs.html).
@@ -193,7 +193,7 @@ Here are a few common cases where you might want to try something else:
All of the above tools can work with little to no configuration.
-If you prefer configuring the build yourself, [follow this guide](https://reactjs.org/docs/add-react-to-a-website.html).
+If you prefer configuring the build yourself, [follow this guide](https://react.dev/learn/add-react-to-an-existing-project).
## React Native
diff --git a/docusaurus/docs/documentation-intro.md b/docusaurus/docs/documentation-intro.md
index aee991f0f40..a68ad3e9a87 100644
--- a/docusaurus/docs/documentation-intro.md
+++ b/docusaurus/docs/documentation-intro.md
@@ -12,7 +12,7 @@ You can find different topics in the table of contents. On desktop, you should s
## Looking for React Docs?
-The documentation for React itself is located on a separate website: **[reactjs.org](https://reactjs.org/)**.
+The documentation for React itself is located on a separate website: **[react.dev](https://react.dev/)**.
This website is only about Create React App.
diff --git a/packages/cra-template-typescript/template/README.md b/packages/cra-template-typescript/template/README.md
index b87cb00449e..2898d2d2038 100644
--- a/packages/cra-template-typescript/template/README.md
+++ b/packages/cra-template-typescript/template/README.md
@@ -43,4 +43,4 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
-To learn React, check out the [React documentation](https://reactjs.org/).
+To learn React, check out the [React documentation](https://react.dev/).
diff --git a/packages/cra-template-typescript/template/src/App.tsx b/packages/cra-template-typescript/template/src/App.tsx
index a53698aab3c..6af20e48fba 100644
--- a/packages/cra-template-typescript/template/src/App.tsx
+++ b/packages/cra-template-typescript/template/src/App.tsx
@@ -12,7 +12,7 @@ function App() {
diff --git a/packages/cra-template/template/README.md b/packages/cra-template/template/README.md
index 58beeaccd87..c130a0cfc71 100644
--- a/packages/cra-template/template/README.md
+++ b/packages/cra-template/template/README.md
@@ -43,7 +43,7 @@ You don't have to ever use `eject`. The curated feature set is suitable for smal
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
-To learn React, check out the [React documentation](https://reactjs.org/).
+To learn React, check out the [React documentation](https://react.dev/).
### Code Splitting
diff --git a/packages/cra-template/template/src/App.js b/packages/cra-template/template/src/App.js
index 37845757234..dcf8bfdf4a3 100644
--- a/packages/cra-template/template/src/App.js
+++ b/packages/cra-template/template/src/App.js
@@ -11,7 +11,7 @@ function App() {
From 362ef64c3ac2ffb77192f3b5f604c106154f8914 Mon Sep 17 00:00:00 2001
From: aman kumar <113624539+Amanlabh@users.noreply.github.com>
Date: Sat, 27 Dec 2025 14:25:22 +0530
Subject: [PATCH 2/2] Update README.md
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---
README.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 8ab5220dbb5..876ceb1e777 100644
--- a/README.md
+++ b/README.md
@@ -193,7 +193,7 @@ Here are a few common cases where you might want to try something else:
All of the above tools can work with little to no configuration.
-If you prefer configuring the build yourself, [follow this guide](https://react.dev/learn/add-react-to-an-existing-project).
+If you prefer adding React to an existing build setup manually, [follow this guide](https://react.dev/learn/add-react-to-an-existing-project).
## React Native