What does React.memo do?
React.memo is a higher order component that you can use to ensure functional components only re-render when the props change (much like PureComponent for class components).
Displaying 1 post
React.memo is a higher order component that you can use to ensure functional components only re-render when the props change (much like PureComponent for class components).