docs: minor grammar correction (#7906)

`a expensive` should be `an expensive`
This commit is contained in:
Fergus Ruston
2025-09-02 18:58:37 +01:00
committed by GitHub
parent afd84d136a
commit 337d5eaf7d

View File

@@ -321,7 +321,7 @@ All mentioned APIs offer memoization but the difference is what they're intended
#### `useMemo` {/*deep-dive-use-memo*/}
In general, you should use [`useMemo`](/reference/react/useMemo) for caching a expensive computation in a Client Component across renders. As an example, to memoize a transformation of data within a component.
In general, you should use [`useMemo`](/reference/react/useMemo) for caching an expensive computation in a Client Component across renders. As an example, to memoize a transformation of data within a component.
```jsx {4}
'use client';