DEV Community

Discussion on: Javascript

Collapse
 
evantbyrne_38 profile image
evantbyrne_38 • Edited

I would actually recommend starting with jQuery because it's relatively easy to use, does not require a complex build system, and its effects on the browser DOM are predictable and observable without special tooling. From there work on performing DOM operations with less and less reliance on jQuery. A site called "You might not need jQuery", a site called "Can i use", and the MDN javascript reference should help a lot. Frameworks like React and Angular are powerful, but also kind of magical so it's difficult to tell what exactly they are doing. I wouldn't discourage you from learning these frameworks, but I also don't consider knowing how to use them to be quite the same as understanding javascript.

Collapse
 
computistic profile image
Hannan Ali

Please don't work your up from jQuery, jQuery abstracts out a lot of good things that are important for beginners developers to learn in order to understand good design patterns of JavaScript.

Doing this, will only make you more comfortable with anti patterns of JavaScript such as using a lot of iife, like in $(document).ready function

Collapse
 
evantbyrne_38 profile image
evantbyrne_38

React is also a salad of anti-patterns reminiscent of early 90s PHP spaghetti code. Inline XML, seriously? I would argue that jQuery is a pretty solid DOM toolkit and a no-nonsense way to introduce oneself to, ahem, the actual DOM.