---
title: "Discussion on \"When you should use useCallback, useMemo React JS\" | Hashnode"
description: "Discussion on \"When you should use useCallback, useMemo React JS\". When you should use useCallback, useMemo React JS\nA common mistake React devs make is utilizing useState for every mutable value they need to persist between renders. useState is a good solution if the rendered output depends on the value, otherwise ..."
url: "https://hashnode.com/posts/when-use-usememo-usecallback/668f365866093ca79f5a7dd2"
---

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

Discussion

# [When you should use useCallback, useMemo React JS](https://articles.tkssharma.com/when-use-usememo-usecallback?utm_source=hashnode&utm_medium=feed)

When you should use useCallback, useMemo React JS A common mistake React devs make is utilizing useState for every mutable value they need to persist between renders. useState is a good solution if the rendered output depends on the value, otherwise ...

Mar 3, 2023 · 4 min read · articles.tkssharma.com  
Read the article

## Written by

[tkssharma](https://hashnode.com/@indiTechCoder)

@indiTechCoder · India

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

Code Everyday

I'm a full-stack software developer creating open-source projects and writing about modern JavaScript client-side and server-side. Working remotely from India.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
