Skip to content
0:00 / 0:00

#virtualdom#solidjs#react

The 3 Ways JavaScript Frameworks Render the DOM

Ryan Carniato

20K subscribers • 1 video on Hallway

YouTube
  • Recommended by 1 person: 1 on Lobsters.
  • Presented by Ryan Carniato

Intermediate. Assumes working knowledge.

21K views1 year ago1 recommendation

Web developmentVue, Svelte, Angular and othersJavaScript

Ryan Carniato explains the three primary strategies declarative JavaScript frameworks use to update the DOM: replacement, dirty checking, and virtual DOM.

That's right, there are only 3. There may have been dozens of JavaScript frameworks over the years, but how they render the DOM is almost always identical. In this video, we will look at the approaches all Declarative JavaScript frameworks update the DOM to better understand how they work and their pros and cons. [] Introduction [] Anatomy of a Template [] Render by Replacement [] The DOM is slow? [] Dirty Checking [] Virtual DOM [] Fine-Grained [] Conclusion Examples: Replacement - playground.solidjs.com/anonymous/ba6baa78-37b1-4a60-8a5f-ac3… Dirty Checking - playground.solidjs.com/anonymous/4499a448-3a92-4886-94e2-528… Virtual DOM - playground.solidjs.com/anonymous/b9cdee71-a908-4a00-a36e-b41… Fine-Grained - playground.solidjs.com/anonymous/e89f77f1-19b3-4286-8dff-319…

Why it's here

1 person recommends this

What people say. Recommended as an excellent, clear breakdown of how modern frontend frameworks manage DOM updates.

manuelon Lobsters • Recommends

The 3 Ways JavaScript Frameworks Render the DOM