DEV Community

[Comment from a deleted post]
Collapse
 
webbureaucrat profile image
webbureaucrat

There's definitely no right answer, but a few thoughts:

  • Efficiency is a little overrated. Connections are pretty fast these days, and even bottom-of-the-line phones aren't that bad.

  • Yeah, you probably don't need JQuery anymore, as long as you're targeting reasonably modern browsers.

  • In my humble opinion, everyone who's working on the web platform should learn vanilla JS in-depth.

But for the most part, you're just going to have to learn to use the right tools for the job. I recommend using vanilla JS as much as possible for a while so you get to really know what it's like to use it. If you're writing a web app that you know up front will have a whole lot of interactivity, it may not make sense to start with truly vanilla JS, but you can start by bringing in one framework and stick to that.

The important thing is: Don't bring in any dependencies just by default. If you start every app thinking, "I need to install a bunch of libraries and plugins and then start writing code" and then add more over time on top of that--that's where your app will really start to slow down.

Collapse
 
ironcladdev profile image
Conner Ow

Yeah, I always make sure that I only use the dependencies I need.
Thanks for the info!