Skip to content

Commit 68c0f85

Browse files
authored
s/beta/rc (#6906)
1 parent bb96306 commit 68c0f85

File tree

6 files changed

+26
-40
lines changed

6 files changed

+26
-40
lines changed

src/content/blog/2024/04/25/react-19-upgrade-guide.md

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,18 @@
11
---
2-
title: "React 19 Beta Upgrade Guide"
2+
title: "React 19 RC Upgrade Guide"
33
author: Ricky Hanlon
44
date: 2024/04/25
5-
description: The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible and we don't expect the changes to impact most apps. In this post, we will guide you through the steps for upgrading libraries to React 19 beta.
5+
description: The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible and we don't expect the changes to impact most apps. In this post, we will guide you through the steps for upgrading apps and libraries to React 19.
66
---
77

88
April 25, 2024 by [Ricky Hanlon](https://twitter.com/rickhanlonii)
99

1010
---
1111

12-
<Note>
13-
14-
This beta release is for libraries to prepare for React 19. App developers should upgrade to 18.3.0 and wait for React 19 stable as we work with libraries and make changes based on feedback.
15-
16-
</Note>
17-
1812

1913
<Intro>
2014

21-
The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible and we don't expect the changes to impact most apps.
22-
23-
To help make the upgrade easier, today we are also publishing React 18.3.
15+
The improvements added to React 19 RC require some breaking changes, but we've worked to make the upgrade as smooth as possible, and we don't expect the changes to impact most apps.
2416

2517
</Intro>
2618

@@ -36,7 +28,7 @@ For a list of changes in 18.3 see the [Release Notes](https://github.com/faceboo
3628

3729
</Note>
3830

39-
In this post, we will guide you through the steps for upgrading libraries to React 19 beta:
31+
In this post, we will guide you through the steps for upgrading to React 19:
4032

4133
- [Installing](#installing)
4234
- [Codemods](#codemods)
@@ -46,7 +38,7 @@ In this post, we will guide you through the steps for upgrading libraries to Rea
4638
- [TypeScript changes](#typescript-changes)
4739
- [Changelog](#changelog)
4840

49-
If you'd like to help us test React 19, follow the steps in this upgrade guide and [report any issues](https://github.com/facebook/react/issues/new?assignees=&labels=React+19&projects=&template=19.md&title=%5BReact+19%5D) you encounter. For a list of new features added to React 19 beta, see the [React 19 release post](/blog/2024/04/25/react-19).
41+
If you'd like to help us test React 19, follow the steps in this upgrade guide and [report any issues](https://github.com/facebook/react/issues/new?assignees=&labels=React+19&projects=&template=19.md&title=%5BReact+19%5D) you encounter. For a list of new features added to React 19, see the [React 19 release post](/blog/2024/04/25/react-19).
5042

5143
---
5244
## Installing {/*installing*/}
@@ -78,20 +70,20 @@ We expect most apps will not be affected since the transform is enabled in most
7870
To install the latest version of React and React DOM:
7971

8072
```bash
81-
npm install react@beta react-dom@beta
73+
npm install react@rc react-dom@rc
8274
```
8375

84-
If you're using TypeScript, you also need to update the types. Once React 19 is released as stable, you can install the types as usual from `@types/react` and `@types/react-dom`. During the beta period, the types are available in different packages which need to be enforced in your `package.json`:
76+
If you're using TypeScript, you also need to update the types. Once React 19 is released as stable, you can install the types as usual from `@types/react` and `@types/react-dom`. Until the stable release, the types are available in different packages which need to be enforced in your `package.json`:
8577

8678
```json
8779
{
8880
"dependencies": {
89-
"@types/react": "npm:types-react@beta",
90-
"@types/react-dom": "npm:types-react-dom@beta"
81+
"@types/react": "npm:types-react@rc",
82+
"@types/react-dom": "npm:types-react-dom@rc"
9183
},
9284
"overrides": {
93-
"@types/react": "npm:types-react@beta",
94-
"@types/react-dom": "npm:types-react-dom@beta"
85+
"@types/react": "npm:types-react@rc",
86+
"@types/react-dom": "npm:types-react-dom@rc"
9587
}
9688
}
9789
```

src/content/blog/2024/04/25/react-19.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
---
2-
title: "React 19 Beta"
2+
title: "React 19 RC"
33
author: The React Team
44
date: 2024/04/25
5-
description: React 19 Beta is now available on npm! In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
5+
description: React 19 RC is now available on npm! In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
66
---
77

88
April 25, 2024 by [The React Team](/community/team)
99

1010
---
1111

12-
<Note>
13-
14-
This beta release is for libraries to prepare for React 19. App developers should upgrade to 18.3.0 and wait for React 19 stable as we work with libraries and make changes based on feedback.
15-
16-
</Note>
17-
1812
<Intro>
1913

20-
React 19 Beta is now available on npm!
14+
React 19 RC is now available on npm!
2115

2216
</Intro>
2317

24-
In our [React 19 Beta Upgrade Guide](/blog/2024/04/25/react-19-upgrade-guide), we shared step-by-step instructions for upgrading your app to React 19 Beta. In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
18+
In our [React 19 RC Upgrade Guide](/blog/2024/04/25/react-19-upgrade-guide), we shared step-by-step instructions for upgrading your app to React 19. In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
2519

2620
- [What's new in React 19](#whats-new-in-react-19)
2721
- [Improvements in React 19](#improvements-in-react-19)

src/content/blog/index.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ Last week we hosted React Conf 2024, a two-day conference in Henderson, Nevada w
1616

1717
</BlogCard>
1818

19-
<BlogCard title="React 19 Beta " date="April 25, 2024" url="/blog/2024/04/25/react-19">
19+
<BlogCard title="React 19 RC " date="April 25, 2024" url="/blog/2024/04/25/react-19">
2020

21-
In the React 19 Beta Upgrade Guide, we shared step-by-step instructions for upgrading your app to React 19 Beta. In this post, we'll give an overview of the new features in React 19, and how you can adopt them.
21+
In the React 19 RC Upgrade Guide, we shared step-by-step instructions for upgrading your app to React 19. In this post, we'll give an overview of the new features in React 19, and how you can adopt them ...
2222

2323
</BlogCard>
2424

25-
<BlogCard title="React 19 Beta Upgrade Guide" date="April 25, 2024" url="/blog/2024/04/25/react-19-upgrade-guide">
25+
<BlogCard title="React 19 RC Upgrade Guide" date="April 25, 2024" url="/blog/2024/04/25/react-19-upgrade-guide">
2626

27-
The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible and we don't expect the changes to impact most apps. In this post, we will guide you through the steps for upgrading libraries to React 19 beta.
27+
The improvements added to React 19 require some breaking changes, but we've worked to make the upgrade as smooth as possible, and we don't expect the changes to impact most apps. In this post, we will guide you through the steps for upgrading libraries to React 19 ...
2828

2929
</BlogCard>
3030

src/content/learn/react-compiler.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ These docs are still a work in progress. More documentation is available in the
2121
<Note>
2222
React Compiler is a new experimental compiler that we've open sourced to get early feedback from the community. It still has rough edges and is not yet fully ready for production.
2323

24-
React Compiler requires React 19 Beta. If you are unable to upgrade to React 19, you may try a userspace implementation of the cache function as described in the [Working Group](https://github.com/reactwg/react-compiler/discussions/6). However, please note that this is not recommended and you should upgrade to React 19 when possible.
24+
React Compiler requires React 19 RC. If you are unable to upgrade to React 19, you may try a userspace implementation of the cache function as described in the [Working Group](https://github.com/reactwg/react-compiler/discussions/6). However, please note that this is not recommended and you should upgrade to React 19 when possible.
2525
</Note>
2626

2727
React Compiler is a new experimental compiler that we've open sourced to get early feedback from the community. It is a build-time only tool that automatically optimizes your React app. It works with plain JavaScript, and understands the [Rules of React](/reference/rules), so you don't need to rewrite any code to use it.
@@ -365,7 +365,7 @@ You can also provide feedback in the React Compiler Working Group by applying to
365365

366366
### `(0 , _c) is not a function` error {/*0--_c-is-not-a-function-error*/}
367367

368-
This occurs if you are not using React 19 Beta and up. To fix this, [upgrade your app to React 19 Beta](https://react.dev/blog/2024/04/25/react-19-upgrade-guide) first.
368+
This occurs if you are not using React 19 RC and up. To fix this, [upgrade your app to React 19 RC](https://react.dev/blog/2024/04/25/react-19-upgrade-guide) first.
369369

370370
If you are unable to upgrade to React 19, you may try a userspace implementation of the cache function as described in the [Working Group](https://github.com/reactwg/react-compiler/discussions/6). However, please note that this is not recommended and you should upgrade to React 19 when possible.
371371

src/content/reference/rsc/server-components.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ The bundler then combines the data, rendered Server Components and dynamic Clien
174174
```js
175175
<div>
176176
<span>By: The React Team</span>
177-
<p>React 19 Beta is...</p>
177+
<p>React 19 is...</p>
178178
</div>
179179
```
180180

src/sidebarBlog.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,15 +19,15 @@
1919
"path": "/blog/2024/05/22/react-conf-2024-recap"
2020
},
2121
{
22-
"title": "React 19 Beta",
23-
"titleForHomepage": "React 19 Beta",
22+
"title": "React 19 RC",
23+
"titleForHomepage": "React 19 RC",
2424
"icon": "blog",
2525
"date": "April 25, 2024",
2626
"path": "/blog/2024/04/25/react-19"
2727
},
2828
{
29-
"title": "React 19 Beta Upgrade Guide",
30-
"titleForHomepage": "React 19 Beta Upgrade Guide",
29+
"title": "React 19 RC Upgrade Guide",
30+
"titleForHomepage": "React 19 RC Upgrade Guide",
3131
"icon": "blog",
3232
"date": "April 25, 2024",
3333
"path": "/blog/2024/04/25/react-19-upgrade-guide"

0 commit comments

Comments
 (0)