---
title: "Discussion on \"Inline ref functions in React\" | Hashnode"
description: "Discussion on \"Inline ref functions in React\". Introduction\nIn React, you can use inline functions to get element references (refs), but this approach has some nuances and is generally not recommended due to performance issues.\nI tried it in one of my projects and realized that the function kept ..."
url: "https://hashnode.com/posts/inline-ref-functions-in-react/6678387f01b4ca140bc24f23"
---

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

Discussion

# [Inline ref functions in React](https://tigerabrodi.blog/inline-ref-functions-in-react?utm_source=hashnode&utm_medium=feed)

Introduction In React, you can use inline functions to get element references (refs), but this approach has some nuances and is generally not recommended due to performance issues. I tried it in one of my projects and realized that the function kept ...

Jun 23, 2024 · 2 min read · tigerabrodi.blog  
Read the article

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

## Written by

[Tiger Abrodi](https://hashnode.com/@tigerabrodi)

@tigerabrodi · Germany

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

Obsessed with crafting software.

Just a guy who loves to write code and watch anime.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
