Skip to content

Commit f17f5b6

Browse files
authored
Merge pull request reactjs#898 from reactjs/sync-ca93140e
Sync with react.dev @ ca93140
2 parents 3fd67f8 + 7f5b728 commit f17f5b6

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

src/content/reference/react-dom/components/option.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/
2323

2424
### `<option>` {/*option*/}
2525

26-
The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
26+
The [built-in browser `<option>` component](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/option) lets you render an option inside a [`<select>`](/reference/react-dom/components/select) box.
2727

2828
```js
2929
<select>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ Streaming does not need to wait for React itself to load in the browser, or for
286286
287287
**Only Suspense-enabled data sources will activate the Suspense component.** They include:
288288
289-
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/advanced-features/react-18)
289+
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/getting-started/react-essentials)
290290
- Lazy-loading component code with [`lazy`](/reference/react/lazy)
291291
292292
Suspense **does not** detect when data is fetched inside an Effect or event handler.

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Streaming does not need to wait for React itself to load in the browser, or for
285285
286286
**Only Suspense-enabled data sources will activate the Suspense component.** They include:
287287
288-
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/advanced-features/react-18)
288+
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/getting-started/react-essentials)
289289
- Lazy-loading component code with [`lazy`](/reference/react/lazy)
290290
291291
Suspense **does not** detect when data is fetched inside an Effect or event handler.

src/content/reference/react/Suspense.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ async function getAlbums() {
252252

253253
**Only Suspense-enabled data sources will activate the Suspense component.** They include:
254254

255-
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/advanced-features/react-18)
255+
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/getting-started/react-essentials)
256256
- Lazy-loading component code with [`lazy`](/reference/react/lazy)
257257

258258
Suspense **does not** detect when data is fetched inside an Effect or event handler.

src/content/reference/react/useDeferredValue.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ During updates, the <CodeStep step={2}>deferred value</CodeStep> will "lag behin
8484

8585
This example assumes you use one of Suspense-enabled data sources:
8686

87-
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/advanced-features/react-18)
87+
- Data fetching with Suspense-enabled frameworks like [Relay](https://relay.dev/docs/guided-tour/rendering/loading-states/) and [Next.js](https://nextjs.org/docs/getting-started/react-essentials)
8888
- Lazy-loading component code with [`lazy`](/reference/react/lazy)
8989

9090
[Learn more about Suspense and its limitations.](/reference/react/Suspense)

src/content/reference/react/useLayoutEffect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ useLayoutEffect(setup, dependencies?)
2626
2727
### `useLayoutEffect(setup, dependencies?)` {/*useinsertioneffect*/}
2828
29-
Call `useLayoutEffect` perform the layout measurements before the browser repaints the screen:
29+
Call `useLayoutEffect` to perform the layout measurements before the browser repaints the screen:
3030
3131
```js
3232
import { useState, useRef, useLayoutEffect } from 'react';

0 commit comments

Comments
 (0)