P
P
paradogs2020-05-11 19:38:02
Frontend
paradogs, 2020-05-11 19:38:02

When can/should I use plugins?

Actually the question itself is in the title: When can/should I use plugins? .

Why this question came up:

1) I accidentally saw millions of posts that jQuery should be abandoned in favor of optimization.
2) But I also noticed that a lot of people use a bunch of plugins in their projects, avoiding jQuery. What is the logic then?
(For example, instead of writing some kind of slider yourself, they connect a plugin like Swiper, and do not use even a quarter of the possibilities)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
approximate solution, 2020-05-11
@paradogs

Actually the question itself is in the title: When can/should I use plugins?

Plugins need to be used - when you are a regular web master and work on a freelance basis, i.e. taking into account time / money - you know for sure that the plugin is working, it is easy to maintain it, it has not gone into depricated status.
Plugins do not need to be used if - you are using a plugin for functionality from the series = click on a button and make an animation, for this some individuals drag along 32 kilobytes of a jquery library, or 40 burger animations, although they use one.

1) I accidentally saw millions of posts about jQuery being ditched in favor of optimization.

No, as it was written above, Jquery lives and will live as long as there is freelancing, quickly make a website from a series and bring it to a product.
But I also noticed that a lot of people use a bunch of plugins in their projects, avoiding jQuery. What is the logic then?
(For example, instead of writing some kind of slider yourself, they connect a plugin like Swiper, and do not use even a quarter of the possibilities)

The logic is that there are adherents who see only black and white, and write an even bigger bike, which on sale gives a kick in the ass to its developer, who did not test the code.
Conclusion: if you are a self-confident JS programmer, it is worth writing code without plugins
- when you do not do it on the side, and are completely confident in your direct hands;
- write 7-10 lines that perform some action - you don't need to pull a whole plugin for this.
If you are doing a project on the side, for money, time and speed are important to you - plugins are a good solution to close your business position.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question