What is jQuery
Advantages and disadvantages
Its main advantage is that programmers can easily add all kinds of plugins, both public and privately developed, which greatly facilitate the programming task. In addition, it has excellent support thanks to which it solves all kinds of bugs very quickly and the integration with AJAX is one of the best we can find.
However, it is not perfect. And it is that one of the main qualities often becomes a drawback: the large number of versions that are published in a short time. It is difficult to be up to date when new versions come out every so often.
In addition, we must be very careful when implementing it in the development environment, since the smallest error can take the entire infrastructure out of service. Also, keep in mind that implementing jQuery on a website implies increasing the size of the website between 80 and 100 KB.
Finally, although it is a relatively simple framework, if we compare it with others it is not so simple.
Either because we are looking for more minimalist alternatives, specialized in certain tasks, or simply because we do not like jQuery, we can find a wide variety of alternatives that will allow us to choose the one that best suits our tastes, or our objective. Here we tell you which are the best.
Zepto is one of the most interesting alternatives that we can find. This is one of the minimalist alternatives that developers like the most. It is compatible with most of the jQuery syntax, but with the difference that its implementation only increases the total size of the web by 5 KB, which represents a considerable saving.
By default it only brings the most used selectors, methods and events, although its modular nature allows developers to load the modules we need.
We can get more information about this alternative to jQuery from here .
If the 5 KB of Zepto.jz sounds like a lot to you, we can still download more. XUI brings us a JS framework that we can implement with only 4.1 KB. This is also based on jQuery, so it shares most of its functions and syntax, although it is especially focused on mobile application development.
Despite being a very small framework, XUL has a large number of options and tools, with which we will be able to optimize the development of our application to the maximum.
We can access the XUI code from this link .
Although the concept is based on Zepto, it is much more basic, and for some developers it may fall short.
We can access this framework, and all its documentation, from the following link .
We can access your code from GitHub .
This library is another of the lightest that we can find, occupying, like Zepto, only 4 KB, and also can even work in a compressed way. It is used both for web development and for the development of multiplatform mobile applications, optimizing load times in both cases and reducing resource consumption.
Umbrella is a framework designed from jQuery, so developers who already know this will be able to use it without problems. In addition, it is compatible with all types of APIs, such as AJAX, DOM and it even has allowed events.
Everything related to Umbrella can be found here .
This framework has been specially designed with users who work with many DOM elements in mind. This library occupies only 1 KB and has everything necessary to work with these elements and to be able to use the CSS3 syntax in a simpler and more intuitive way. Its syntax is the same as that of jQuery, so if we have already worked with that other framework we will not have a problem.
We can get more information about this framework on GitHub .
Broadly speaking, Sizzle is an expanded version of Qwery. This 4K framework is focused on taking professional development to the last level. In addition to offering everything that the previous option offers, and also being based on the jQuery syntax, it has a built-in API and integrates perfectly with CSS3. Of course, we must bear in mind that it depends directly on it, so in order to use this library we must first have the previous one.
We can get it from this link .
Another rather small alternative, only 2 KB, is $ DOM. This maintains great compatibility between browsers, especially when we want the web to look good on computers and in responsive designs for mobiles and tablets. It is capable of processing simple animations, but in return it lacks quite important functions for some users, such as manipulation of arrays or the use of AJAX.
If you are looking to create a fast and compatible website, then we must try ReactJS. This framework offers us excellent compatibility with all types of browsers (even with the oldest versions of Internet Explorer). It is a very peculiar framework, since in some aspects it resembles jQuery, while in others it is too different. If we are developing websites that we want to work well in IE, we can use this framework. Otherwise, better to look for other alternatives.
We can download it from this link .