How Can We Help?
React.memo is a higher-order component similar to PureComponent that memoizes the rendered output of a component based on its props. It prevents unnecessary re-renders of functional components by caching the result and re-rendering only when props change.