News for hackers. Stuff that matters.
Re:How I built a fast JavaScript framework by amelius on Thursday March 08, 2018 @05:35AM (#16543543)
Ok, that makes sense.

I'm also worried about debugging accidental dependency triggers. Imagine that suddenly the scroll-state of some div is reset; how do you determine which dependency caused the DOM element to be recreated? With a vdom you avoid the whole problem.

Re:How I built a fast JavaScript framework by lhorie on Thursday March 08, 2018 @11:24AM (#16545344)
> how do you determine which dependency caused the DOM element to be recreated

Normally, I would toss in a throw and look at the stack trace. But yes, the stack trace gets noisy as hell.