Your post made me think of the old days .. The days where JQuery ruled. Do you remember that 600 lines javascript file ? The pain you have to go through everytime there's a bug or an anomaly. Well all of that was made easier with the appearance of frontend frameworks / library (and I'm not talking only about react). The huge plus about them is :
You don't have to repeat the same things over and over again (I'm aware of the addition of Custom Web Components but it's still not supported by all browsers, unfortunately..)
Much, much faster development process. Yeah, you guessed it. Try to build the same thing using vanilla js and then a frontend framework you're familiar with.. you'll see!
Optimization : Pretty much everything in any frontend framework is then 'bundled' into vanilla javascript, html and css. But the difference is the optimization. These frontend frameworks were built by, may I say, js masters. And don't forget about the most important rule of programming : If anyone else has done it, don't do it (aka. don't reinvent the wheel). And yeah I know that there are many cool vanilla javascript libraries, and you can still use them in your frontend app.
I'd rather re-invent a few wheels than use a monstrosity of a system which, even for a fairly simple project, pulls in more than 1,200 "node_modules", taking up nearly half a gigabyte of space. At least when I reinvent a wheel, I end up with a fairly nice custom-made wheel, not an unholy "Howl's moving castle"-style contraption made from bits and pieces of every half-baked wheel that was ever pushed to npm. I'm just grumpy because some stupid issue with broken npm dependencies and TypeScript wasted a few hours of my time today. (But in all honesty, these frameworks actually do suck pretty bad, we can do better.)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Your post made me think of the old days .. The days where JQuery ruled. Do you remember that 600 lines javascript file ? The pain you have to go through everytime there's a bug or an anomaly. Well all of that was made easier with the appearance of frontend frameworks / library (and I'm not talking only about react). The huge plus about them is :
I'd rather re-invent a few wheels than use a monstrosity of a system which, even for a fairly simple project, pulls in more than 1,200 "node_modules", taking up nearly half a gigabyte of space. At least when I reinvent a wheel, I end up with a fairly nice custom-made wheel, not an unholy "Howl's moving castle"-style contraption made from bits and pieces of every half-baked wheel that was ever pushed to npm. I'm just grumpy because some stupid issue with broken npm dependencies and TypeScript wasted a few hours of my time today. (But in all honesty, these frameworks actually do suck pretty bad, we can do better.)