4 ms·
Avoid "full stack" frameworks with JavaScript -- they are all gimmicks. This is something I wish I knew at first. Start with Node.js, because you will eventuall
by anonytrary 8y ago
Avoid "full stack" frameworks with JavaScript -- they are all gimmicks. This is something I wish I knew at first. Start with Node.js, because you will eventually end up using npm, Webpack and Babel if you are doing serious web development. I used learnyounode[0] to get familiar with the basics of async-first programming. Even though you have tools like async+await and Promises, I would recommend being comfortable with callbacks.
Avoid CoffeeScript and jQuery, they are obsolete. Make sure you are comfortable with Webpack (build tool) and Babel (transpiler), since they are essential in web programming today. I would go with React + JSX over Vue, because I find it to be more elegant and intuitive.
[0] https://www.npmjs.com/package/learnyounode https://www.npmjs.com/package/learnyounode
- _virtu 8y agoI like this comment. It's good to not use jQuery, but I would still recommend looking at it for a historical perspective. Browser apis take care of jQuery nowadays, but it's good to see the library because a lot of sites still run on it. My personal preference is React + JSX as well. You'll be pleasantly surprised by how small the React api is.
- anonytrary 8y agoAnother thing I'd like to add is that if you learn JS from the ground-up, methods in jQuery and lodash can be picked up on-the-fly in a matter of minutes; they are basically just sets of util functions for javascript.
- jfk-in-sd-ca 8y agoGlad I read this because my impression was that JQuery Was still popular. Doing a lot of optimizing websites and jquery is a big source of bottlenecks. Seems like most plugins and themes for WordPress call a different version of JS which I believe causes the majority of conflicts.
- baranovxyz 8y agoYou can actually use Vuejs instead of jQuery for simple cases (you can't use React). https://medium.com/js-dojo/vue-js-is-easier-to-learn-than-jquery-abbbb9c12cf8 https://medium.com/js-dojo/vue-js-is-easier-to-learn-than-jq...
- anonytrary 8y agoI'm confused. Why can't you use React?