4 ms·
Polymer is 35kb, and the markup in my applications has same size roughly that I do with react or angular 1.x. You sure you measured things correctly? That being
by ergo14 9y ago
Polymer is 35kb, and the markup in my applications has same size roughly that I do with react or angular 1.x. You sure you measured things correctly? That being said 1MB of DOM... It kind of looks machine generated - icon definitions seem to be served in source, and other resources - this makes no sense to me.
I'm getting thee times bigger html file served under firefox than chrome, looks like a bug.
- pcurve 9y agoWow, I certainly hope not. I opened up Chrome DOM inspector, clicked "Edit as HTML", selected all and copied, pasted into code editor, and saved the file as HTML. The file quickly grows as soon as you take any action and load more DOM. One quick scroll, and I was already up to 1.65MB.