Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

326
Views
When NOT to use a React Pure Component (React.memo) and what are the disadvantages of using it wrongly?

Ok, React.memo HOC mimics for a "function component" what extending React.PureComponent would do for a "class component".

If some rerendering was triggered by some parent component, pure components don’t rerender if its props haven’t changed. Ok

But i can’t understand when i should not use React.memo for function components. In my mind, it appears to be always the best solution, in a way that should be the default behavior of React components. But it isn’t. What am i not understanding of this? In which example we should not use React.memo or rely on pure components?

And if my React Component shouldn't be Pure but I made it so, what are the disadvantages?

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!