4 ms·
I stopped using jQuery years ago. As a consequence I'm writing less Javascript because now I'm rethinking how and what to write. I never had issues with older
by huuu 11y ago
I stopped using jQuery years ago. As a consequence I'm writing less Javascript because now I'm rethinking how and what to write.
I never had issues with older browsers because most of those issues are css related. And imho if you need Javascript to fix your layout you are having other issues.
- aidos 11y agoDepends on what you classify as older browsers I guess. I'm in the fortunate position of developing solely for chrome at the moment so I don't have to think about css issues anymore and can use more advanced features. I still go for jquery for the likes of http requests and css selectors. Which libraries do you use for those tasks now?
- alxlu 11y agoCan't speak for huuu, but querySelector() and querySelectorAll() seem to be able to handle most cases. And if you're only developing for Chrome, the built in Fetch API should work for http requests.
- darrhiggs 11y agoSorry to dump nothing more than links, but I think they should provide what you are looking for. (requests) https://developer.mozilla.org/en/docs/Web/API/Fetch_API https://developer.mozilla.org/en/docs/Web/API/Fetch_API http://caniuse.com/#feat=fetch http://caniuse.com/#feat=fetch (css selectors) https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelector https://developer.mozilla.org/en-US/docs/Web/API/Document/qu... https://developer.mozilla.org/en-US/docs/Web/API/Document/querySelectorAll https://developer.mozilla.org/en-US/docs/Web/API/Document/qu... http://caniuse.com/#search=queryselector http://caniuse.com/#search=queryselector