mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-26 18:58:17 +00:00
oops
This commit is contained in:
@@ -7,7 +7,7 @@ title: memo
|
||||
`memo` lets you skip re-rendering a component when its props are unchanged.
|
||||
|
||||
```
|
||||
const SomeComponent = memo(render)
|
||||
const MemoizedComponent = memo(SomeComponent)
|
||||
```
|
||||
|
||||
</Intro>
|
||||
|
||||
Reference in New Issue
Block a user