DEV Community

Discussion on: Last Week I Wrote Some jQuery (and no one fired me 🤓)

 
bigbott profile image
bigbott

You should reconsider your behavior. First, you put labels, then you make assumptions about your opponent. I am doing software for 17 years already. JFYK.

I don't say that jQuery better for the things that React and Angular do.
I said that jQuery and Svelte are genius, but Angular-React are mediocre.

There is a problem in enterprise software development: on big projects several developers works together and each makes things his own way. jQuery is not a solution for this problem. jQuery is just a library. Small genius library that greatly simplifies writing JavaScript code.

To solve above problem you need a framework. And here you have two options: use mediocre bloated highly opionated framework like Angular or React (if you will tell me that React is a library, i will stop arguing with you) or write your own.

IMHO, writing your own framework is always better. Nobody should use any third party code untill he understands in depth how this code works. This is especially true about frontend frameworks.

About components. The problem with React components that you cannot use them without React. Same with Angular. Same with jQuery plugins, but jQuery is a small library, there are plugins that comparable in size with jQuery core. If you need complicated plugin like Datatables or Select2 you can insert jQuery core in your project just for this plugin. About 20 kb gzipped.

You can create web component (custom HTML tag) using Svelte and use it in any project. There are other libraries that do the, but Svelte the best.

jQuery and Svelte being different tools from different ages have one in common: they make things simpler and they are simple itself.