3 ms·
I recall reading that element.querySelector(All) was inspired by jQuery. If true, it means jQuery was so much of a success that parts of it were implemented nat
by mercer 10y ago
I recall reading that element.querySelector(All) was inspired by jQuery. If true, it means jQuery was so much of a success that parts of it were implemented natively in browsers!
(I couldn't confirm this by googling, so if anyone can confirm or deny that this is the case I'd love to know!)
- gsnedders 10y agoTo some degree, it's absolutely the case that JS frameworks of the era have shaped what browsers have done in the late-00s. I can't remember the detail of document.querySelectorAll; it was first proposed around the time jQuery was originally released. element.querySelector I think was largely inspired by jQuery's usage of it (in part to make it easier to run more of jQuery's selectors natively!).