Re:How I built a fast JavaScript framework
by naasking on Wednesday March 07, 2018 @12:13PM
(#16537844)
> With the non-vdom approach, you're creating a new textarea element, and set its value.
This isn't necessarily true. In fact, it's not true of Surplus and Radi.js, which is partly why they're much faster than every vdom framework out there.
Now with VIDEO elements, things are more problematic. If you recreate parent-nodes of a VIDEO element, the video will stop playing, or will flicker, or jump back to the beginning.