2 ms·
Native APIs are the future, and everyone should learn to use them, but there are still too many gotchas and verbosity. Take a look at the code in rye.js[1], the
by ricardobeat 14y ago
Native APIs are the future, and everyone should learn to use them, but there are still too many gotchas and verbosity. Take a look at the code in rye.js[1], these are the most minimalistic wrappers to native APIs you'll ever get before ES6: https://github.com/ryejs/rye/blob/master/lib/manipulation.js https://github.com/ryejs/rye/blob/master/lib/manipulation.js
This is what I expected jQuery 2.0 would attempt, and the shape most browser libraries will take in the not-so-distant future.