---
title: "Discussion on \"useRef Hook: React\" | Hashnode"
description: "Discussion on \"useRef Hook: React\". useRef Hook helps to create a direct reference to the DOM element, so we can access it and modify, like the JavaScript document.querySelector"
url: "https://hashnode.com/posts/useref-hook-react/629b2ab35c349e3289ef0b3a"
---

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

Discussion

# [useRef Hook: React](https://mansoorameen.hashnode.dev/useref-hook-react?utm_source=hashnode&utm_medium=feed)

useRef Hook helps to create a direct reference to the DOM element, so we can access it and modify, like the JavaScript document.querySelector

Jun 4, 2022 · 2 min read · mansoorameen.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#reacthooks](https://hashnode.com/tag/reacthooks)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#js](https://hashnode.com/tag/js)

## Written by

[Mansoor Ameen](https://hashnode.com/@mansoorameen)

@mansoorameen

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

Self-taught coder | Front-end developer

## Responses 1

Markdown supported · ⌘↵ to post

[Developer Avocado](https://hashnode.com/@AvocaDEV)

[Jun 4, 2022](https://hashnode.com/posts/useref-hook-react/629b2ab35c349e3289ef0b3a/comment/629b5fe37ab2e32eed5b919c)

Thanks for explanation 👍
