← React Intermediate Questions - Set 8 Q74

What is `React.memo` and how does it work?

React Intermediate Questions - Set 8

Example

const Row = memo(function Row({ item }) {
  return <li>{item.label}</li>;
});

What to notice

← Back to the question list