---
title: "Discussion on \"How does React's virtual DOM work?\" | Hashnode"
description: "Discussion on \"How does React's virtual DOM work?\". Learn how React updates the virtual DOM using component state and the observable pattern. Use key props when updating lists to avoid performance issues."
url: "https://hashnode.com/posts/how-does-reacts-virtual-dom-work/63f67888a03a243cdaac8a92"
---

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

Discussion

# [How does React's virtual DOM work?](https://devparadise.hashnode.dev/how-does-reacts-virtual-dom-work?utm_source=hashnode&utm_medium=feed)

Learn how React updates the virtual DOM using component state and the observable pattern. Use key props when updating lists to avoid performance issues.

Feb 22, 2023 · 4 min read · devparadise.hashnode.dev  
Read the article

-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#virtual-dom](https://hashnode.com/tag/virtual-dom)
-   [#react-list](https://hashnode.com/tag/react-list)

## Written by

[Deniel Horvatic](https://hashnode.com/@FollowJack)

@FollowJack · Germany

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

Frontend Dev for development without pain

I help companies build their dream web software ❤️ Vue.js, Nuxt.js, React, Next.js, TypeScript, Clean Code Freelancer | Contractor

## Responses 1

Markdown supported · ⌘↵ to post

[Nguyễn Minh Quân](https://hashnode.com/@Adenhall)

[Feb 23, 2023](https://hashnode.com/posts/how-does-reacts-virtual-dom-work/63f67888a03a243cdaac8a92/comment/63f75943567017e3e3b3738e)

Great stuff. Wish I knew this before my interview as they asked why we use key props
