---
title: "Discussion on \"React Optimization: React.memo, useCallback, useMemo\" | Hashnode"
description: "Discussion on \"React Optimization: React.memo, useCallback, useMemo\". Why do we need to optimize React components?\nIt is needed because of how React Reconciliation updates the virtual DOM. React uses BFS algorithm to check if a node needs to be replaced in virtual DOM, where each node is an element. Now the diffing alg..."
url: "https://hashnode.com/posts/react-optimization/6016a90413f0a55761bdef44"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [React Optimization: React.memo, useCallback, useMemo](https://apurvkhare.hashnode.dev/react-optimization?utm_source=hashnode&utm_medium=feed)

Why do we need to optimize React components? It is needed because of how React Reconciliation updates the virtual DOM. React uses BFS algorithm to check if a node needs to be replaced in virtual DOM, where each node is an element. Now the diffing alg...

Jan 31, 2021 · 6 min read · apurvkhare.hashnode.dev  
Updated Mar 20, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#optimization](https://hashnode.com/tag/optimization)

## Written by

[Apurv Khare](https://hashnode.com/@apurvkhare)

@apurvkhare · Bangalore, India

  
[View profile](https://hashnode.com/@apurvkhare)

Staff Engineer

Staff Frontend Engineer @ Procore | X-Adode, Walmart | Educator | Micro Frontend &amp; Design System Consultant | Career Coach

## Responses 1

Markdown supported · ⌘↵ to post

[Lucas Torreira](https://hashnode.com/@LucasTorreira)

[Jan 17, 2022](https://hashnode.com/posts/react-optimization/6016a90413f0a55761bdef44/comment/61e5f5a38a425719c1737269)

Good day, I want to tell you about our excellent service, which has been operating for many years and has an excellent reputation, we do an excellent job with any task and essay, if you want fast and high-quality work, please contact [write essay today](https://writemyessaytoday.us/) . Quality work at the highest level, we guarantee you success.
