Better HN
topnewbestaskshowjobs
Log inSign up

SnowmanJoshu

3 karma · joined Mar 21, 2015 (11y ago) · 3 submissions

Submissions

comment 11y ago · link · parent

Ohhh. Alright, that makes much more sense. I was assuming the diffing algorithm took place pre-render. Thanks =)

comment 11y ago · link · parent

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.