memo in React
Expert-Level Explanation
React.memo is a higher-order component that memoizes a functional component. It performs a shallow comparison of the previous and new props and re-renders the component only if the props have changed. This is similar to PureC...
akashthoriya.hashnode.dev1 min read