HackerTrans
TopNewTrendsCommentsPastAskShowJobs

cptrp2101

no profile record

comments

cptrp2101
·قبل 4 سنوات·discuss
lol. Montreal would like to have a word.
cptrp2101
·قبل 5 سنوات·discuss
I agree. No need to go into something that exists and do a big refactor to pull it out. I'm advocating for not adding it to things you start now.
cptrp2101
·قبل 5 سنوات·discuss
You're bang on here. Why import an entire library when once polyfill and native features will serve you nicely.
cptrp2101
·قبل 5 سنوات·discuss
I had a big post but deleted it all. I can more concisely say this:

The people here saying they still use it have so far demonstrated what I always say. If you're using jQuery, it's time to go back and relearn javascript. Most people should REALLY research the querySelector and querySelectorAll DOM methods.

I've always felt that jQuery encourages you to let your skills stagnate and you don't learn what your code is actually doing. Learn what the current spec has to offer. You don't need another dep just to target dom nodes ffs.
cptrp2101
·قبل 5 سنوات·discuss
https://developer.mozilla.org/en-US/docs/Web/API/Document/qu...

Does the same as the $ query but native in every browser in IE9+ and gives you a native node. Also more performant than getElementBy<whatever> methods.
cptrp2101
·قبل 5 سنوات·discuss
These are really cool. As someone who mostly writes code for web, this seems like a fun way to learn a new stack.