Hmm. Have you actually done much web development in the last 10 years?
Building websites with raw HTML, CSS and JS 10 years ago was very much not "just fine". There's a reason frameworks were invented.
For the large part of projects I work on, plain old server side rendering with sprinkles of vanila.js work just fine.
At least folks now rediscovered SSG, but they seem to build rewriting bundlers in Rust as well.
Bullshit. jQuery as a library didn't inherently cause spaghetti code, it was predominantly just used as a cross-browser selector function and some standard library augmentation/fixes before JS itself caught up. Sprinkles of progressive enhancement jQuery were exactly the problem that caused frameworks to be created. Sprinkles of vanilla JS lead to the exact same outcome, minus a jQuery library load.