Skip to content

Commit 0769ce9

Browse files
committed
Clarify conditional data fetching pattern
1 parent 45720a7 commit 0769ce9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/content/reference/react-dom/browser.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ iframe {
380380
381381
</Sandpack>
382382
383-
A wrapper around a Suspense-enabled data-fetching library can call `use(browser())` directly inside a condition before the library's `useQuery` when initial data is missing:
383+
You can apply a similar pattern to conditionally avoid server rendering when using a Suspense-enabled data-fetching library. For example, a wrapper can call `use(browser())` directly inside a condition before the library's `useQuery` when initial data is missing:
384384
385385
```js {3}
386386
function useBrowserQuery(query, options) {

0 commit comments

Comments
 (0)