---
title: "Discussion on \"React Series: useRef Hook\" | Hashnode"
description: "Discussion on \"React Series: useRef Hook\". If you want to update the value of an element in your component or access any DOM elements, then the useRef() hook is your go-to. When updating state using useState, the component re-renders every time the state is accessed but using useRef, you can ..."
url: "https://hashnode.com/posts/react-series-useref-hook/642f32f5c80efa52064fe40e"
---

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

Discussion

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

If you want to update the value of an element in your component or access any DOM elements, then the useRef() hook is your go-to. When updating state using useState, the component re-renders every time the state is accessed but using useRef, you can ...

Apr 6, 2023 · 5 min read · oluwatrillions.hashnode.dev  
Read the article

-   [#web-development](https://hashnode.com/tag/web-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Michael Oluwatobi Ajose](https://hashnode.com/@oluwatrillions)

@oluwatrillions · Lagos Nigeria

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

Full-stack Web Developer

Full-stack Web Developer || Technical writer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
