3 ms·
* querySelectors are about 462x slower in Chrome than static DOM methods and 250,000x slower in Firefox. * in JavaScript you don’t need classes, ever. * you a
by austincheney 6y ago
* querySelectors are about 462x slower in Chrome than static DOM methods and 250,000x slower in Firefox.
* in JavaScript you don’t need classes, ever.
* you are executing slower using a framework and probably writing code an order of magnitude slower as well
* expert developers don’t do popular things
- pestaa 6y agoWhat are popular things experts don't do? Even in a narrow context like JavaScript, I'm not sure what this means.
- suprfnk 6y ago> querySelectors are [..] slower [..] than static DOM methods By static DOM methods, you mean the GetElementsBy methods?
- austincheney 6y agoYes