mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-22 20:01:57 +00:00
docs: minor grammar correction (#7906)
`a expensive` should be `an expensive`
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user