Skip to content

Commit 40251d2

Browse files
authored
fix #5210 (#5211)
Closes #5210
1 parent dc20245 commit 40251d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

beta/src/content/apis/react/memo.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ Avoid doing deep equality checks inside `arePropsEqual` unless you are 100% sure
331331

332332
### `memo(Component, arePropsEqual?)` {/*memo*/}
333333

334-
Call `memo` outside of any components to define a memoized version of a component. This memoized component will usually not be re-rendered when its component is re-rendered as long as its props have not changed. But React may still re-render it: memoization is only a performance optimization, not a guarantee.
334+
Call `memo` outside of any components to define a memoized version of a component. This memoized component will usually not be re-rendered when its parent component is re-rendered as long as its props have not changed. But React may still re-render it: memoization is only a performance optimization, not a guarantee.
335335

336336
```js
337337
import { memo } from 'react';

0 commit comments

Comments
 (0)