---
title: "Discussion on \"How to Dynamically Add Refs In React\" | Hashnode"
description: "Discussion on \"How to Dynamically Add Refs In React\". Refs are a way to access DOM nodes or React elements just as you would access DOM elements in vanilla JavaScript"
url: "https://hashnode.com/posts/how-to-dynamically-add-refs-in-react/60a25b0323723215ec2ff408"
---

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

Discussion

# [How to Dynamically Add Refs In React](https://blog.abiolaajibola.dev/how-to-dynamically-add-refs-in-react?utm_source=hashnode&utm_medium=feed)

Refs are a way to access DOM nodes or React elements just as you would access DOM elements in vanilla JavaScript

May 17, 2021 · 4 min read · blog.abiolaajibola.dev  
Updated Dec 5, 2024  
Read the article

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

## Written by

[Abiola](https://hashnode.com/@callme-abiola)

@callme-abiola · Nigeria

  
[View profile](https://hashnode.com/@callme-abiola)

Full-Stack developer | JavaScript | React | Node.js

## Responses 1

Markdown supported · ⌘↵ to post

[adetola esther](https://hashnode.com/@DiamondA3)

[May 17, 2021](https://hashnode.com/posts/how-to-dynamically-add-refs-in-react/60a25b0323723215ec2ff408/comment/60a2612423723215ec2ff48e)

I'm not a developer, but I can say you succinctly taught this well using very simple vocabularies.

Great write there, I look forward to reading from you, Abiola.
