For small projects, agreed. However, try building a complex site like the BBC or even wasteof with vanilla JS. It's simply not scalable. Also, getting a job with vanilla JS is almost impossible - framework knowledge is a requirement in the real industry.
actually wait a minute can someone define js framework for me i have a massively terrible idea and i want to know if it technically counts as a js framework
basically a js framework adds functions and such and allows interaction with databases and other frameworks
examples: nodejs, vuejs, nuxtjs, react, nextjs, etc.
i know this comment is old but just answering because i’m curious of your idea
my idea was to take an entirely different programming language and use it as a js framework because of some technicality, but since it has to run on actual js + a few functions, my new idea is a runBefunge98Code
function and you have to use that in order to do the framework thing