encyclopegia.org

Virtual DOM

A virtual DOM is a lightweight JavaScript representation of the Document Object Model (DOM) used in declarative web frameworks such as React, Vue.js, and Elm.[src] Since generating a virtual DOM is relatively fast, any given framework is free to rerender the virtual DOM as many times as needed relatively cheaply.[src] The framework can then find the differences between the previous virtual DOM and the current one (diffing), and only makes the necessary changes to the actual DOM (reconciliation).[src] While technically slower than using just vanilla JavaScript, the pattern makes it much easier to write websites with a lot of dynamic content, since markup is directly coupled with state.[src] Similar techniques include Ember.js' Glimmer and Angular's incremental DOM.[src]

A virtual DOM is a lightweight JavaScript representation of the Document Object Model (DOM) used in declarative web frameworks such as React, Vue.js, and Elm.[src] Since generating a virtual DOM is relatively fast, any given framework is free to rerender the virtual DOM as many times as needed relatively cheaply.[src] The framework can then find the differences between the previous virtual DOM and the current one (diffing), and only makes the necessary changes to the actual DOM (reconciliation).[src] While technically slower than using just vanilla JavaScript, the pattern makes it much easier to write websites with a lot of dynamic content, since markup is directly coupled with state.[src] Similar techniques include Ember.js' Glimmer and Angular's incremental DOM.[src]

10 sentences · 10 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Virtual DOM." encyclopegia.org, 2026, https://encyclopegia.org/wiki/virtual-dom. Accessed 26 November 2026.

Chicago

"Virtual DOM." encyclopegia.org. Accessed November 26, 2026. https://encyclopegia.org/wiki/virtual-dom.

APA

encyclopegia.org. (2026). Virtual DOM. Retrieved November 26, 2026, from https://encyclopegia.org/wiki/virtual-dom

Accessed November 26, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Wartesaal am Dom

stub · references available

virtual world

stub · references available

Jeanny Dom

stub · references available

Sliezsky Dom

stub · references available

virtual printer

stub · references available

Orange España Virtual S.L.U

stub · references available

Grundschule am Dom

stub · references available

Hamburger Dom

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1367770640 · 0.5 · snapshot enwiki-001367770640

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.