3 ms·
>> .. and vanilla JS with some jQuery If I could I'd buy you a beer and cheers you for relieving my JS anxiety a bit. I love jQuery, and I'm tired of feeling a
by zengid 9y ago
>> .. and vanilla JS with some jQuery
If I could I'd buy you a beer and cheers you for relieving my JS anxiety a bit. I love jQuery, and I'm tired of feeling ashamed of it, damnit!
- jgoodhcg 9y agoI don't think that quote justifies your love of jQuery. The keywords are "some" and "sprinkled in". In my experience jQuery always trends towards a huge mess the more it is used. Sure, it could be used but it really shouldn't. Interacting with the DOM in a procedural way, and storing state on the DOM is always going to be harder to manage than using a reactive pattern when you trend towards more complexity.
- golergka 9y agoReally depends on what level of complexity we're talking about. Simple form with a couple of fields or something like gmail?
- zengid 9y agoIt's s CRUD app! You don't need everything to be a SPA with a heavy weight framework!
- mercer 9y agoYou can use something like Preact for little widgets here and there. It's not one or the other!
- drinchev 9y agojQuery is no better ( these days ) than Vanilla JS, which you will love as well especially if you choose to use ES6 syntax.
- Something1234 9y ago`document.querySelectorAll` is amazing. It's a unification of the css syntax and javascript. No more filtering it your self, and your standard javascript stuff still works. It's wonderful.
- deleted 9y ago[deleted]