Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Nasmon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
Nasmon
11y ago
Thanks for your hint! It would be interesting to know which IE versions are affected. Code on plainJS has no unit tests (so far) and it's objective is a) recommending useful and field tested vanilla JS plugins and b) provide useful cod
2.
▲
by
Nasmon
11y ago
> parents('.classname') In DOM4, which is available in modern browsers: .closest('.classname') possibly also .parent('.classname'), but haven't looked it up.
3.
▲
by
Nasmon
11y ago
jQuery is perfect for rather complex JS driven websites, e.g. web page builders. But most websites that make use of jQuery just don't need it. As an example website we created without jQuery: plainJS.com :-P The site provides a neat
4.
▲
by
Nasmon
11y ago
I think we're all aware jQuery is written plain JS and it's not an own language ... it's an abstraction layer. The question is: Is it still necessary - or is it becoming obsolete, because nativly in browsers implemented DOM h
5.
▲
by
Nasmon
11y ago
Fixed it :-) Thanks.
6.
▲
by
Nasmon
11y ago
The mass of try-catch and the likes simply isn't necessary any more. JS has grown up. IE 8 is still nasty, but if required, one can handle it.
7.
▲
by
Nasmon
11y ago
It's not just about performance. That can be important for complex projects, such as image editors, but it's not why I personally prefer plain JS over jQuery. However, ask yourself: What's your advantage of using jQuery today
8.
▲
by
Nasmon
11y ago
Answering in the name of Pixabay: We started Pixabay years ago and at the time, jQuery was kind of the holy grail in terms of cross browser safe JS development. However, times change and today we would use vanilla JS for the site. And the d
9.
▲
PlainJS – The Vanilla JavaScript Repository
(plainjs.com)
55 points
by
Nasmon
11y ago
|
37 comments