Skip to content

Commit 2caec60

Browse files
committed
Fix more broken links
1 parent c726e7d commit 2caec60

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ This will run the following codemods from `react-codemod`:
113113
- [`replace-string-ref`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-string-ref)
114114
- [`replace-act-import`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-act-import)
115115
- [`replace-use-form-state`](https://github.com/reactjs/react-codemod?tab=readme-ov-file#replace-use-form-state)
116-
- [`prop-types-typescript`](https://codemod.com/registry/react-prop-types-typescript)
116+
- [`prop-types-typescript`](https://github.com/reactjs/react-codemod#react-proptypes-to-prop-types)
117117

118118
This does not include the TypeScript changes. See [TypeScript changes](#typescript-changes) below.
119119

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,4 +299,4 @@ function Comments({commentsPromise}) {
299299

300300
The `note` content is important data for the page to render, so we `await` it on the server. The comments are below the fold and lower-priority, so we start the promise on the server, and wait for it on the client with the `use` API. This will Suspend on the client, without blocking the `note` content from rendering.
301301

302-
Since async components are [not supported on the client](#why-cant-i-use-async-components-on-the-client), we await the promise with `use`.
302+
Since async components are not supported on the client, we await the promise with `use`.

vercel.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,17 @@
244244
"destination": "/blog/2024/12/05/react-19",
245245
"permanent": true
246246
},
247+
{
248+
"source": "/:path*",
249+
"has": [
250+
{
251+
"type": "host",
252+
"value": "facebook.github.io"
253+
}
254+
],
255+
"destination": "https://reactjs.org/:path*",
256+
"permanent": true
257+
},
247258
{
248259
"source": "/feed.xml",
249260
"destination": "/rss.xml",

0 commit comments

Comments
 (0)