To improve user interface performance, React offers a higher-order component
React.memo()
. By memoizing the rendered output, React skips unnecessary re-rendering.This post helps you distinguish the situations when
React.memo()
improves the performance, and, not less important, understand when its usage is useless
Leave a comment