⬅︎ Back to From jQuery to Cash
> Why do you say that vanilla JS is an anti-pattern?I wrote a bit about this here: https://news.ycombinator.com/item?id=19535940The TL;DR is that there are too many details to take care of, and unless you really need just a few methods out of jQuery it isn't worth the risk and your time to reinvent the wheel, it's probably better to just use something like Cash.
Comment
> Why do you say that vanilla JS is an anti-pattern?
I wrote a bit about this here: https://news.ycombinator.com/item?id=19535940
The TL;DR is that there are too many details to take care of, and unless you really need just a few methods out of jQuery it isn't worth the risk and your time to reinvent the wheel, it's probably better to just use something like Cash.