News for hackers. Stuff that matters.

SnowmanJoshu

Re:Efficient Nested React Components 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 =)
Re:Efficient Nested React Components on Saturday March 21, 2015 @06:12PM (#9244393)
Hi! I'm the author and was very surprised to see my post here. I mainly wrote it as a reference for my future self.

Someone pointed out that I've muddied up the distinction between the DOM and react's virtual DOM. That is entirely possible! I should point out that I am a React novice and in no way an authoritative source.

I'm assuming when a render function gets run, it does an actual DOM render, but I could be wrong.