Hacker News new | ask | show | jobs
by DutchKevv 3223 days ago
It could be a bit far fetched..

But I recommend skipping all frameworks and do a lot with native JS and learn the prototype chain.. this will make you understand a lot more about how JavaScript works and also how JS is attached to the DOM.

Frameworks change so often in JS world!

1 comments

Not that I'm particularly experienced in JS, but I'd add to this that starting out with frameworks like Mithril that have small APIs and let you right the majority of your code and logic in vanilla JS is also very beneficial when starting out.
True

Depending if one is good with other languages and some patterns like MVC, I really like to give someone that has 'figured out' the DOM and jquery etc pa.k. frontend in general, a push to Backbone as a JS learning framework. It's very clean and has a relative hard line between data -> View compared to Angular 4 etc. Also I think Backbone is so simple, It makes learning build flows with Gulp, Webpack etc easier. Thats not something to forget in modern JS world..

If all coding is new to a person, use Jquery only to show 'how simple it can be' and than make very clear most code written in Jquery should be considered a 'quick cheat' and does not hold any true JS revelation. Just to let them keep there eyes open and keep setting targets for themself like faster,scalable etc coding skills in Vanilla JS