---
title: "Discussion on \"Why and When to use React.useCallback?\" | Hashnode"
description: "Discussion on \"Why and When to use React.useCallback?\". A practical guide to React.useCallback hook"
url: "https://hashnode.com/posts/why-and-when-to-use-react-use-callback/60df1dd74f8e376422a758fc"
---

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

Discussion

# [Why and When to use React.useCallback?](https://blog.niranjanborawake.in/why-and-when-to-use-react-use-callback?utm_source=hashnode&utm_medium=feed)

A practical guide to React.useCallback hook

Jul 2, 2021 · 7 min read · blog.niranjanborawake.in  
Updated Jul 5, 2021  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Niranjan Borawake](https://hashnode.com/@niranjandb)

@niranjandb · Pune, India

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

Problem Solver | Front-end Engineer | Netflix Addict

Hi there! I'm a software professional with over 13 years of experience in developing software products. My passion lies in web development, and I specialize in using React to create engaging and user-friendly websites. Recently, I've embarked on an exciting journey into the world of machine learning, eager to explore its endless possibilities. Join me as I share my experiences, insights, and discoveries through my blog, where we can dive into the fascinating realm of software development, web development with React, and the exciting field of machine learning. Let's learn and grow together!

## Responses 2

Markdown supported · ⌘↵ to post

[Sandip Gautam](https://hashnode.com/@Gaumsy)

[Jul 6, 2021](https://hashnode.com/posts/why-and-when-to-use-react-use-callback/60df1dd74f8e376422a758fc/comment/60e3c1d2e9aeb8301a6a4260)

Great analogy to explain complex topic with simple examples

[Sowmen Rahman](https://hashnode.com/@sowmenrahman)

[Jul 3, 2021](https://hashnode.com/posts/why-and-when-to-use-react-use-callback/60df1dd74f8e376422a758fc/comment/60e0b96903707d644a50150c)

This is a really good article [Niranjan Borawake](https://hashnode.com/@niranjandb). Loved your analogy of parents and kids actions for describing referential equality!

[Niranjan Borawake](https://hashnode.com/@niranjandb)

[Jul 3, 2021](https://hashnode.com/posts/why-and-when-to-use-react-use-callback/60df1dd74f8e376422a758fc/comment/60e0b96903707d644a50150c#reply-60e0bca803707d644a50152b)

Thanks a lot @sowmenrahman. I think analogies are very important. They assist you in simplifying things and clearly understanding concepts.
