---
title: "Discussion on \"Avoiding unexpected calls from useEffect on re-renders with useCallback and useRef approaches\" | Hashnode"
description: "Discussion on \"Avoiding unexpected calls from useEffect on re-renders with useCallback and useRef approaches\". passing callbacks from one component down to another on props is a cause of unexpected multiple calls on re-renders"
url: "https://hashnode.com/posts/avoiding-unexpected-calls-from-useeffect-on-re-renders-with-usecallback-and-useref-approaches/61468b88e1f56817e3607567"
---

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

Discussion

# [Avoiding unexpected calls from useEffect on re-renders with useCallback and useRef approaches](https://alecode.hashnode.dev/avoiding-unexpected-calls-from-useeffect-on-re-renders-with-usecallback-and-useref-approaches?utm_source=hashnode&utm_medium=feed)

passing callbacks from one component down to another on props is a cause of unexpected multiple calls on re-renders

Sep 19, 2021 · 3 min read · alecode.hashnode.dev  
Read the article

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

## Written by

[Alejandro Soto](https://hashnode.com/@asotog)

@asotog

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

Developer

I am a developer from Costa Rica, who likes hamburguers, listens music, father of 2...

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
