But what is wrong is saying jQuery isn't plain JS or "Vanilla JS". Which is stupid since jQuery IS a DOM abstraction and any javascript library written in javascript is plain or vanilla js. It can only mean that the person who says that doesn't know the difference between the DOM and Javascript.
So, why use an abstraction layer if the base layer itself offers quite the same comfort?
This is just flat out wrong. Frameworks provide a layer (or multiple layers) of abstraction to make code organization and maintenance easier. How that translates into "guaranteed to be writing spaghetti" I have no idea; those frameworks can't force you into their coding structure and you can still write absolutely horrible spaghetti in them (I've seen some really bad angular that should have been simply set on fire and re-written).
In fact you can write horrible spaghetti using basically any language or framework. It comes down to discipline and experience, in my opinion, when you want to write clean and easy-to-maintain code.
I definitely do not need react or angularjs. Trust me I don't.
Because I know and respect SOLID principles and I don't need a framework to enforce them.
If you can't tell what should be in the view from where your business logic should be OR you need a framework to enforce these principles then you're going to write spaghetti code no matter what, jQuery or not, react,angularjs or not.
And by the way Angular 1.x works quite well with jQuery, Angular 1.x even includes a light version of jQuery.
No worries just a common misconception; the DOM API is part of HTML and DOM specifications.
you pointed to a mozilla wiki which has a entry under "web" directory
>"There is no "document.createElement" in the Javascript spec." Uh... https://developer.mozilla.org/en-US/docs/Web/API/Document/cr...
well, I hope you learned something today because your link isn't the javascript spec.
Because that's why serious front-end developers use jQuery. Because the jQuery team actually tests the code against a wide range of browsers. All these libs hacked in an afternoon are lucky if they have at least some tests...
And again, the DOM=/=Javascript. Jquery is as vanilla JS as all these libs. But some people still can't tell the difference. An API isn't the language. There is no "document.createElement" in the Javascript spec.