useMemo()
useMemo is a React Hook that lets you cache the result of a calculation between re-renders.Memoization is the optimized technique used primarily to speed up computer programs by storing up results of the expensive function calls and return...