Skip to content

Commit 7f9439e

Browse files
Update src/content/learn/reusing-logic-with-custom-hooks.md
Co-authored-by: Ricky <[email protected]>
1 parent 85c9ff3 commit 7f9439e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/content/learn/reusing-logic-with-custom-hooks.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@ Similar to a [design system,](https://uxdesign.cc/everything-you-need-to-know-ab
14191419
14201420
#### Will React provide any built-in solution for data fetching? {/*will-react-provide-any-built-in-solution-for-data-fetching*/}
14211421
1422-
Today, with the [`use`](/reference/react/use#streaming-data-from-server-to-client) API, data can be streamed from the server to the client by passing a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) as a prop:
1422+
Today, with the [`use`](/reference/react/use#streaming-data-from-server-to-client) API, data can be read in render by passing a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) to `use`:
14231423
14241424
```js {3,6,13}
14251425
import { use, Suspense } from "react";

0 commit comments

Comments
 (0)