Lots of people told me to stop using jquery because it was inefficient so I did. I know how to use react and stuff like that, but I don't usually use any libraries, frameworks, or dependencies besides Font Awesome Icons and Google Fonts.
Some of my friends told me a way to "re-create" the jquery dollar-sign function like this:
const $ = (tag) => document.querySelector(tag);
That's what I use and I mostly just code in pure DOM with that as my helper.
I know lots of people use stuff like React, and Angular, but is it more efficient to do so?
I mean, adding a dependency or library to your project sometimes comes with code you won't use. Will using something like React make your site slower or be equally the same as using no libraries at all?
I just want your opinion on what is the best, fastest way to develop websites: with or without libraries/frameworks.
Thanks for reading!