Skip to content

Commit 5d3e81a

Browse files
committed
Address feedback: clarify use() accepts Promise or context
1 parent e7be13d commit 5d3e81a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • src/content/reference/react

src/content/reference/react/use.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: use
44

55
<Intro>
66

7-
`use` is a React API that lets you read the value of a resource like a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or [context](/learn/passing-data-deeply-with-context).
7+
`use` is a React API that lets you read the value of a [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or [context](/learn/passing-data-deeply-with-context) resource.
88

99
```js
1010
const value = use(resource);

0 commit comments

Comments
 (0)