Glossary term
What is memo (React.memo)?
memo stands for React.memo.
In Scenario Debugging
Wraps a component so React skips its re-render if the props did not change (a shallow check). The props must stay the same between renders to help.
Learn it properly · Scenario DebuggingLesson 3: Unnecessary Re-renders: Finding and Fixing ThemThe React Profiler, context updates that re-render every consumer, props that change each time, using memo on purpose and not everywhere, and what the React Compiler changes.In React in Depth
Wraps a component so it skips rendering when its props are shallowly equal to last time.
Learn it properly · React in DepthLesson 7: Performance: Memoization, Lists, Code Splitting and the React CompilerFind slow renders with the Profiler, memo, virtualised lists, lazy loading, transitions, and what the React Compiler changes.