Not the same as useMemo.
React.Memois a high-order-component, that checks if a component's props have changed or not. Therefore, avoiding unnecessary re-renders. It compares the new props to the previous ones.
Not the same as useMemo.
React.Memois a high-order-component, that checks if a component's props have changed or not. Therefore, avoiding unnecessary re-renders. It compares the new props to the previous ones.