useMemo and useCallback
useMemo remembers the result of an expensive calculation, and useCallback remembers a function between renders. Learn how they work with memo, how to see their effect with your own eyes, and why you should use them only when they really matter.
Lesson 21 of 28