News for hackers. Stuff that matters.
Re:Efficient Nested React Components by DougBTX on Saturday March 21, 2015 @06:22PM (#9244441)
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/ 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.
Re:Efficient Nested React Components by SnowmanJoshu on Saturday March 21, 2015 @06:29PM (#9244458)
Ohhh. Alright, that makes much more sense. I was assuming the diffing algorithm took place pre-render. Thanks =)