skills.vishalvoid
ReactIntermediate

memo & useMemo

Skip expensive re-renders by memoizing component output and computed values. Use memo() to wrap components and useMemo() to cache the return value of expensive calculations.

ReactPerformanceMemoizationOptimization
View on React

Opens official documentation at react.dev