Getting to Grips with React.Memo

1 · · Aug. 15, 2019, 8:19 p.m.
React.memo gives us the ability of pure components in React but for functional based components rather than class based ones. memoization is computer science jargon which means caching the result of expensive function calls and returning the cached version when the arguments are the same. In React terms: We don’t want MyNewComponent re-rendering when the props being passed are the same. 🐊 Recommended courses &cudarrr ️⚛️ Learn React and React Hooks using a project-based approach ⓘ About th...