React.memo are used to optimize performance of React. From the documentation:
If your React component’s render() function renders the same result given the same props and state, you can use React.PureComponent
for a performance boost in some cases.
Questions I hope would inspire to write another technical article on React, focusing on these APIs and performance:
- I thought React always renders based on its props and state. What other reasons would make comparison break the behaviour of a