Why we don't and should not use React.memo with every compoent to boost performance ?

Muhammad Hamza - Feb 3 '21 - - Dev Community

If you have been working with React chances are you have worked with React.memo which is used to avoid unnecessary renders of a compoent which results in boosting the performance of that component.

Why we don't use React.memo in all our components to increase performance of compoents?

I know the answer but want to see how you think about this.

. . . . . . . . . . . . . . . . . . . .