Quantcast
Channel: Recent Questions - Stack Overflow
Viewing all articles
Browse latest Browse all 12111

Why aren't all React components wrapped with React.memo() by default?

$
0
0

I've just learned about React.memo() and was wondering, when would we NOT want that behavior? Wouldn't we always want components to only re-render if their props have been changed?


Viewing all articles
Browse latest Browse all 12111

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>