Message from JavaScript discussions

July 2017

— For now I will just provide a callback and a patch function

— 

Very important though, not to directly mutate live elements, everything has to operate on a nonlive doc fragment, then the only live operation is the insertion of the whole fragment

— Not only do you lose speed otherwise, but you also cause DOM thrashing

— Hmm

— I heard that the diffing is expensive though

— In JS objects, no... if you dirty diff the DOM it is

— Aahh

— Well, React apparently does some diffing that is pretty expensive

— Heh, on it's own virtual DOM yes

— I never saw that as a viable thing really

— Hrmm

— So it will always update actual dom whenever data changes then?