Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update 0000-pure.md
  • Loading branch information
gaearon authored Oct 19, 2018
commit aa2774043967093cadac9e42bde8bfc4ec2e9bf6
2 changes: 1 addition & 1 deletion text/0000-pure.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Summary

`React.memo` lets you bail out of updates from a function component. It is an optimization, similar to how you'd use `React.PureComponent` if you were writing a class.
`React.memo` lets you [memoize](https://en.wikipedia.org/wiki/Memoization) the render output from a function component, and bail out of unnecessary updates. It is an optimization, similar to how you'd use `React.PureComponent` if you were writing a class.

# Basic example

Expand Down