4 ms·
Hi! That might be my comment down below. There's a nice article about how the diffing works here: http://calendar.perfplanet.com/2013/diff/ http://calendar.perf
by DougBTX 12y ago
Hi! That might be my comment down below. There's a nice article about how the diffing works here: http://calendar.perfplanet.com/2013/diff/ http://calendar.perfplanet.com/2013/diff/ The important bit is that the diff is applied to the old and new virtual doms, and it is the render method that gets called to compute the new virtual dom. Only after the diff does the real dom get updated.
- SnowmanJoshu 12y agoOhhh. Alright, that makes much more sense. I was assuming the diffing algorithm took place pre-render. Thanks =)