---
title: "Discussion on \"Day 9 - What is ref in react?\" | Hashnode"
description: "Discussion on \"Day 9 - What is ref in react?\". In react, Refs provide a way to access or reference the DOM element from within a parent component. Generally, in react, we would use props for any interactions between the components. We can re-render the component with updated props to modify it. R..."
url: "https://hashnode.com/posts/what-is-ref-in-react/62790ce1076291997b764e8a"
---

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

Discussion

# [Day 9 - What is ref in react?](https://blog.sanjaybabu.dev/what-is-ref-in-react?utm_source=hashnode&utm_medium=feed)

In react, Refs provide a way to access or reference the DOM element from within a parent component. Generally, in react, we would use props for any interactions between the components. We can re-render the component with updated props to modify it. R...

May 9, 2022 · 1 min read · blog.sanjaybabu.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#beginners](https://hashnode.com/tag/beginners)

## Written by

[Sanjay Babu](https://hashnode.com/@sanjaybabu)

@sanjaybabu · Chennai, India

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

Full stack Web developer

I am a full-stack web developer who has been coding since 2014. Have been part of developing and maintaining large-scale web-based enterprise software for over 3 years.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
