Vanilla JS, fast, lightweight, cross-platform framework
11–20 of 134 posts
Re: Vanilla JS, fast, lightweight, cross-platform framework
#12Re: Vanilla JS, fast, lightweight, cross-platform framework
#13I would have liked a compatibility chart between this and the other frameworks.
Re: Vanilla JS, fast, lightweight, cross-platform framework
#14Re: Vanilla JS, fast, lightweight, cross-platform framework
#15Recently, I was interviewing a front-end developer candidate and I gave them a simple JavaScript problem. The sad thing was, they didn't recognize `document.getElementById()` and didn't know any of the parameters to `addEventListener()`. We finished the exercise assuming the example used jQuery instead.
There always is either underscore or backbone or require or dojo or prototype or yui or jquery...
Don't really know if this is good or bad!
Re: Vanilla JS, fast, lightweight, cross-platform framework
#16Fast and lightweight, yes. But vanilla-js is certainly not cross platform ;) You see, that's actually one of the biggest problems with JS and one of the main reasons why people use things like jQuery (apart from the pretty API..). That cross platform bit is the weakest link sigh .
Re: Vanilla JS, fast, lightweight, cross-platform framework
#17wow, the list of the companies using vanilla.js is impressive. if those put their trust in this framework, it surely must be good.
Re: Vanilla JS, fast, lightweight, cross-platform framework
#18Fast and lightweight, yes. But vanilla-js is certainly not cross platform ;) You see, that's actually one of the biggest problems with JS and one of the main reasons why people use things like jQuery (apart from the pretty API..). That cross platform bit is the weakest link sigh .
jQuery API is not pretty
$('p').text('Hello.')
over for (var p in document.getElementsByTagName('p')) { p.innerHTML = 'Hello.'; }
any day!Re: Vanilla JS, fast, lightweight, cross-platform framework
#19Fast and lightweight, yes. But vanilla-js is certainly not cross platform ;) You see, that's actually one of the biggest problems with JS and one of the main reasons why people use things like jQuery (apart from the pretty API..). That cross platform bit is the weakest link sigh .
jQuery API is not pretty
Re: Vanilla JS, fast, lightweight, cross-platform framework
#20Earlier quoted context omitted.
jQuery API is not pretty
I'll take $('p').text('Hello.') over for (var p in document.getElementsByTagName('p')) { p.innerHTML = 'Hello.'; } any day!