---
title: "Discussion on \"React refs and useImperativeHandle hook : A secret sauce for creating complex and reusable custom components.\" | Hashnode"
description: "Discussion on \"React refs and useImperativeHandle hook : A secret sauce for creating complex and reusable custom components.\". Refs in react are objects that allow us to store values (of any type) that do not trigger re-renders when updated.\nNative elements have props ref which we can set to a ref we created before, to get a direct reference to that element. This allows us t..."
url: "https://hashnode.com/posts/react-refs-and-useimperativehandle-hook-a-secret-sauce-for-creating-complex-and-reusable-custom-components/6546d9a47bdbcb8cf0a25134"
---

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

Discussion

# [React refs and useImperativeHandle hook : A secret sauce for creating complex and reusable custom components.](https://yeledtheo.hashnode.dev/react-refs-and-useimperativehandle-hook-a-secret-sauce-for-creating-complex-and-reusable-custom-components?utm_source=hashnode&utm_medium=feed)

Refs in react are objects that allow us to store values (of any type) that do not trigger re-renders when updated. Native elements have props ref which we can set to a ref we created before, to get a direct reference to that element. This allows us t...

Nov 4, 2023 · 3 min read · yeledtheo.hashnode.dev  
Read the article

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

## Written by

[Yeled THEOPHANE](https://hashnode.com/@yeledTheo)

@yeledTheo

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

Sofware Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
