|
|
|
|
|
by eyelidlessness
2232 days ago
|
|
I'm open to the possibility that I'm that wrong in my understanding, but this didn't help me understand any better at all. The technique does sound similar to me. Both (as I understand it) maintain a representation in memory of the final rendering and use a diff to determine which parts of the rendering to perform. The "virtual DOM" technique isn't strictly tied to a browser DOM, though the term is a reference to that, and React's (in particular) has been adapted to many other rendering targets. I'd be happy to learn more if you'd be kind enough to explain what I misunderstood. |
|
DOM based systems use so called retained mode rendering. But this one uses something that can be classified as immediate mode rendering.
Check https://docs.microsoft.com/en-us/windows/win32/learnwin32/re...