Skip to content

Commit 9ef8832

Browse files
committed
rm canary stuff
1 parent 6d032c6 commit 9ef8832

File tree

8 files changed

+4
-53
lines changed

8 files changed

+4
-53
lines changed

src/content/reference/react-dom/server/resume.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
---
22
title: resume
3-
canary: true
43
---
54

6-
<Canary>
7-
8-
**The `resume` API is currently only available in React’s Canary and Experimental channels.**
9-
10-
[Learn more about React’s release channels here.](/community/versioning-policy#all-release-channels)
11-
12-
</Canary>
13-
145
<Intro>
156

167
`resume` streams a pre-rendered React tree to a [Readable Web Stream.](https://developer.mozilla.org/en-US/docs/Web/API/ReadableStream)

src/content/reference/react-dom/server/resumeToPipeableStream.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
---
22
title: resumeToPipeableStream
3-
canary: true
43
---
54

6-
<Canary>
7-
8-
**The `resumeToPipeableStream` API is currently only available in React’s Canary and Experimental channels.**
9-
10-
[Learn more about React’s release channels here.](/community/versioning-policy#all-release-channels)
11-
12-
</Canary>
13-
145
<Intro>
156

167
`resumeToPipeableStream` streams a pre-rendered React tree to a pipeable [Node.js Stream.](https://nodejs.org/api/stream.html)

src/content/reference/react-dom/static/prerender.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ On the client, call [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) to
6464
`prerender` returns a Promise:
6565
- If rendering the is successful, the Promise will resolve to an object containing:
6666
- `prelude`: a [Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API) of HTML. You can use this stream to send a response in chunks, or you can read the entire stream into a string.
67-
- `postponed` <CanaryBadge />: a JSON-serializeable, opaque object that can be passed to [`resume`](/reference/react-dom/server/resume) if `prerender` did not finish. Otherwise `null` indicating that the `prelude` contains all the content and no resume is necessary.
67+
- `postponed`: a JSON-serializeable, opaque object that can be passed to [`resume`](/reference/react-dom/server/resume) if `prerender` did not finish. Otherwise `null` indicating that the `prelude` contains all the content and no resume is necessary.
6868
- If rendering fails, the Promise will be rejected. [Use this to output a fallback shell.](/reference/react-dom/server/renderToReadableStream#recovering-from-errors-inside-the-shell)
6969
7070
#### Caveats {/*caveats*/}
@@ -313,7 +313,7 @@ async function renderToString() {
313313
314314
Any Suspense boundaries with incomplete children will be included in the prelude in the fallback state.
315315
316-
<CanaryBadge /> This can be used for partial prerendering together with [`resume`](/reference/react-dom/server/resume) or [`resumeAndPrerender`](/reference/react-dom/static/resumeAndPrerender).
316+
This can be used for partial prerendering together with [`resume`](/reference/react-dom/server/resume) or [`resumeAndPrerender`](/reference/react-dom/static/resumeAndPrerender).
317317
318318
## Troubleshooting {/*troubleshooting*/}
319319

src/content/reference/react-dom/static/prerenderToNodeStream.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ On the client, call [`hydrateRoot`](/reference/react-dom/client/hydrateRoot) to
6565
`prerenderToNodeStream` returns a Promise:
6666
- If rendering the is successful, the Promise will resolve to an object containing:
6767
- `prelude`: a [Node.js Stream.](https://nodejs.org/api/stream.html) of HTML. You can use this stream to send a response in chunks, or you can read the entire stream into a string.
68-
- `postponed` <CanaryBadge />: a JSON-serializeable, opaque object that can be passed to [`resumeToPipeableStream`](/reference/react-dom/server/resumeToPipeableStream) if `prerenderToNodeStream` did not finish. Otherwise `null` indicating that the `prelude` contains all the content and no resume is necessary.
68+
- `postponed`: a JSON-serializeable, opaque object that can be passed to [`resumeToPipeableStream`](/reference/react-dom/server/resumeToPipeableStream) if `prerenderToNodeStream` did not finish. Otherwise `null` indicating that the `prelude` contains all the content and no resume is necessary.
6969
- If rendering fails, the Promise will be rejected. [Use this to output a fallback shell.](/reference/react-dom/server/renderToPipeableStream#recovering-from-errors-inside-the-shell)
7070
7171
#### Caveats {/*caveats*/}
@@ -314,7 +314,7 @@ async function renderToString() {
314314
315315
Any Suspense boundaries with incomplete children will be included in the prelude in the fallback state.
316316
317-
<CanaryBadge /> This can be used for partial prerendering together with [`resumeToPipeableStream`](/reference/react-dom/server/resumeToPipeableStream) or [`resumeAndPrerenderToNodeStream`](/reference/react-dom/static/resumeAndPrerenderToNodeStream).
317+
This can be used for partial prerendering together with [`resumeToPipeableStream`](/reference/react-dom/server/resumeToPipeableStream) or [`resumeAndPrerenderToNodeStream`](/reference/react-dom/static/resumeAndPrerenderToNodeStream).
318318
319319
## Troubleshooting {/*troubleshooting*/}
320320

src/content/reference/react-dom/static/resumeAndPrerender.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
---
22
title: resumeAndPrerender
3-
version: canary
43
---
54

6-
<Canary>
7-
8-
**The `resume` API is currently only available in React’s Canary and Experimental channels.**
9-
10-
[Learn more about React’s release channels here.](/community/versioning-policy#all-release-channels)
11-
12-
</Canary>
13-
145
<Intro>
156

167
`resumeAndPrerender` continues a prerendered React tree to a static HTML string using a [Web Stream](https://developer.mozilla.org/en-US/docs/Web/API/Streams_API).

src/content/reference/react-dom/static/resumeAndPrerenderToNodeStream.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,7 @@
11
---
22
title: resumeAndPrerenderToNodeStream
3-
version: canary
43
---
54

6-
<Canary>
7-
8-
**The `resumeAndPrerenderToNodeStream` API is currently only available in React’s Experimental channels.**
9-
10-
[Learn more about React’s release channels here.](/community/versioning-policy#all-release-channels)
11-
12-
</Canary>
13-
145
<Intro>
156

167
`resumeAndPrerenderToNodeStream` continues a prerendered React tree to a static HTML string using a a [Node.js Stream.](https://nodejs.org/api/stream.html).

src/content/reference/react/cacheSignal.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,6 @@
22
title: cacheSignal
33
---
44

5-
<Canary>
6-
7-
**The `cacheSignal()` API is currently only available in React’s Canary and Experimental channels.**
8-
9-
[Learn more about React’s release channels here.](/community/versioning-policy#all-release-channels)
10-
11-
</Canary>
12-
135
<RSC>
146

157
`cacheSignal` is currently only used with [React Server Components](/blog/2023/03/22/react-labs-what-we-have-been-working-on-march-2023#react-server-components).

src/sidebarReference.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,6 @@
134134
{
135135
"title": "cacheSignal",
136136
"path": "/reference/react/cacheSignal",
137-
"version": "canary"
138137
},
139138
{
140139
"title": "captureOwnerStack",
@@ -320,12 +319,10 @@
320319
{
321320
"title": "resume",
322321
"path": "/reference/react-dom/server/resume",
323-
"version": "canary"
324322
},
325323
{
326324
"title": "resumeToPipeableStream",
327325
"path": "/reference/react-dom/server/resumeToPipeableStream",
328-
"version": "canary"
329326
}
330327
]
331328
},
@@ -344,12 +341,10 @@
344341
{
345342
"title": "resumeAndPrerender",
346343
"path": "/reference/react-dom/static/resumeAndPrerender",
347-
"version": "canary"
348344
},
349345
{
350346
"title": "resumeAndPrerenderToNodeStream",
351347
"path": "/reference/react-dom/static/resumeAndPrerenderToNodeStream",
352-
"version": "canary"
353348
}
354349
]
355350
},

0 commit comments

Comments
 (0)