Skip to content

Commit 87a2fc9

Browse files
committed
Polish browser usage labels
1 parent 1735172 commit 87a2fc9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/content/reference/react

src/content/reference/react/use.md

Lines changed: 2 additions & 2 deletions
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 [Promise](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) or [context](/learn/passing-data-deeply-with-context). In Canary, you can also pass `use` the value returned by [`browser`](/reference/react-dom/browser) to mark a component as browser-only during server rendering.
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). You can also pass `use` the value returned by [`browser`](/reference/react-dom/browser) to mark a component as browser-only during server rendering.
88

99
```js
1010
const value = use(resource);
@@ -1326,7 +1326,7 @@ async function getData(url) {
13261326
13271327
---
13281328
1329-
## Usage (`browser`) {/*usage-browser*/}
1329+
## Usage (Browser) {/*usage-browser*/}
13301330
13311331
### <CanaryBadge /> Rendering a component only in the browser {/*rendering-a-component-only-in-the-browser*/}
13321332

0 commit comments

Comments
 (0)