News for hackers. Stuff that matters.
Re:Asm-dom, a minimal WebAssembly virtual DOM to build C++ SPA by The_rationalist on Monday March 16, 2020 @11:12AM (#22593379)
My understanding is that's CSS reflows what makes DOM operations expensive This is why CSS contain property is such a big performance revolution.

There is also if I remember well, a special kind of Dom that is only for logic, therefore being unaffected to reflows. I don't remember how it's called.

Re:Asm-dom, a minimal WebAssembly virtual DOM to build C++ SPA by lootsauce on Monday March 16, 2020 @05:05PM (#22597780)
I believe you are speaking of a fragment. https://developer.mozilla.org/en-US/docs/Web/API/DocumentFra...
Re:Asm-dom, a minimal WebAssembly virtual DOM to build C++ SPA by lioeters on Monday March 16, 2020 @01:30PM (#22594985)
You're probably thinking of CSS position absolute or fixed, which are "outside the flow" and can be used (i.e., for animation) to minimize reflow.