The main problem is that for most developper, vanilla-js is tedious and bulky, Also they need to think about browser compatibility, jquery was doing that for them.
On my side the reason I use vite with @vitejs/plugin-legacy is thaty I can write as I want, even in vanilla js but using modern features, the plugin check which feature it need a polyfill and transpile the code as needed
|