Skip to content

Commit d06ed56

Browse files
committed
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.
1 parent 6254386 commit d06ed56

6 files changed

Lines changed: 7 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ Create React App is a great fit for:
179179

180180
Here are a few common cases where you might want to try something else:
181181

182-
- 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).
182+
- 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).
183183

184184
- 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).
185185

@@ -193,7 +193,7 @@ Here are a few common cases where you might want to try something else:
193193

194194
All of the above tools can work with little to no configuration.
195195

196-
If you prefer configuring the build yourself, [follow this guide](https://reactjs.org/docs/add-react-to-a-website.html).
196+
If you prefer configuring the build yourself, [follow this guide](https://react.dev/learn/add-react-to-an-existing-project).
197197

198198
## React Native
199199

docusaurus/docs/documentation-intro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can find different topics in the table of contents. On desktop, you should s
1212

1313
## Looking for React Docs?
1414

15-
The documentation for React itself is located on a separate website: **[reactjs.org](https://reactjs.org/)**.
15+
The documentation for React itself is located on a separate website: **[react.dev](https://react.dev/)**.
1616

1717
This website is only about Create React App.
1818

packages/cra-template-typescript/template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,4 @@ You don’t have to ever use `eject`. The curated feature set is suitable for sm
4343

4444
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
4545

46-
To learn React, check out the [React documentation](https://reactjs.org/).
46+
To learn React, check out the [React documentation](https://react.dev/).

packages/cra-template-typescript/template/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ function App() {
1212
</p>
1313
<a
1414
className="App-link"
15-
href="https://reactjs.org"
15+
href="https://react.dev"
1616
target="_blank"
1717
rel="noopener noreferrer"
1818
>

packages/cra-template/template/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You don't have to ever use `eject`. The curated feature set is suitable for smal
4343

4444
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
4545

46-
To learn React, check out the [React documentation](https://reactjs.org/).
46+
To learn React, check out the [React documentation](https://react.dev/).
4747

4848
### Code Splitting
4949

packages/cra-template/template/src/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function App() {
1111
</p>
1212
<a
1313
className="App-link"
14-
href="https://reactjs.org"
14+
href="https://react.dev"
1515
target="_blank"
1616
rel="noopener noreferrer"
1717
>

0 commit comments

Comments
 (0)