asked 229 days ago
0
108
I'm building a medium-sized React application and I'm noticing that some components are re-rendering even when their props stay the same.
I tried using React.memo, but it didn't completely fix the issue.
These are the cases where I still see unexpected renders:
Can someone explain how React decides when to re-render a component? And what are the proper steps to avoid unnecessary renders in such cases?


The answer board is empty. Make it rain with your brilliant answer.
1