DEV Community

Mariusz
Mariusz

Posted on • Edited on

2

React Tldr; Use React.memo() wisely

Use React.memo() when:

  • You want to mimic PureComponent in function components.
  • Your component renders often
  • Your component is usually provided with the same props during re-rendering
  • Your component contains a decent amount of UI elements to reason props equally check

Source: https://dmitripavlutin.com/use-react-memo-wisely/

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

Retry later