Re:JavaScript for People Who Hate JavaScript
by hajile on Wednesday August 09, 2017 @05:50PM
(#14974032)
You write syntactic sugar <div className="foo">abc</div> to turn into React.createElement('div', {className:'foo'}, 'abc') which generates an object {...stuff, tag: 'div', attrs: {className: 'foo'}, children: 'abc'}. Your final object is then compared to the previous object and any differences are manually written to the DOM in an efficient order.
Hardly comparable to Java Servlets.
All this has happened before. It will happen again