
React.js with Sebastian Markbage and Christopher Chedeau
JavaScript Archives - Software Engineering Daily
00:00
The Virtual DOM Diffing Is Getting Better With Modern Browsers
One of the big breakthroughs is that you're able to batch changes. And so in this period of time that you have to spend on marshaling JavaScript code into essentially C++ code, you can batch that. There's another issue that is related, which is the DOM APIs have synchronous read operations. So what you really want to do is do all your writes first and then all your reads instead of doing write read, write read,write read.
Transcript
Play full episode