3 ms·
If you don't want to use a big framework, then you needn't use any library at all. Nearly everything in jQuery is 1 line of modern JS, no?
by erhaetherth 3y ago
If you don't want to use a big framework, then you needn't use any library at all. Nearly everything in jQuery is 1 line of modern JS, no?
- pier25 3y agoOne line of jQuery can replace many lines of vanilla js.
- colordrops 3y agoYes, there isn't much reason to use jQuery these days other than keeping with the idioms of a legacy system.
- deleted 3y ago[deleted]
- troupo 3y agoNearly everything in jQuery is more concise, consistent and composable compared to modern JS APIs. As this site clearly shows: https://youmightnotneedjquery.com/ https://youmightnotneedjquery.com/
- deleted 3y ago[deleted]
- masklinn 3y ago> Nearly everything in jQuery is 1 line of modern JS, no? Since JavaScript never actually requires line breaks, yes. Otherwise, absolutely not. Modern web APIs remain highly statements-based, with little affordance for pipelining / cascading.