3 ms·
Given that components are going to need to contain Javascript, what's the value in having them contain separate HTML? "Browsers are good at handling documents"
by lmm 9y ago
Given that components are going to need to contain Javascript, what's the value in having them contain separate HTML? "Browsers are good at handling documents" isn't really true any more; at least, browsers don't seem appreciably better at handling documents than Javascript is.
- MaxBarraclough 9y ago> browsers don't seem appreciably better at handling documents than Javascript is If you disregard memory consumption, CPU load, battery life, then sure.
- lmm 9y agoEven then. I was surprised to see doing a given thing in Javascript perform better than doing it in CSS, but that seems to be the reality of browser implementations.