Babel replacement for jQuery in terms of cross-browser?

Hi!

jQuery is configured to work in all browsers.

And if you write on pure javascript and use babel (gulp or webpack), the scripts will be the same cross-browser?
April 4th 20 at 13:02
2 answers
April 4th 20 at 13:04
Solution
I'll tell you more. jQuery also uses Babel. The creators write code in ES6+, and Babel makes him ES5 code (or whatever you specify in the settings). On the main page is well shown how it works.

jQuery is the library of Babel — a translator (recasts (translates) the code you wrote)
Thanks for the reply - guido_Beer commented on April 4th 20 at 13:07
In the end, with the correct settings, using pure JS babel will work in all browsers? - guido_Beer commented on April 4th 20 at 13:10
@guido_Beer, Yes - allen.Klein commented on April 4th 20 at 13:13
Work with Babel, configuration is all collectors.
But not completely sure it will replace the jQuery - guido_Beer commented on April 4th 20 at 13:16
@guido_Beer, it may not be a "replacement" of jQuery, that do different things for different tasks. - Brett_Wuckert83 commented on April 4th 20 at 13:19
@guido_Beer, jQuery — a set of well written functions in JS, Babel — JS make your code understandable to the browsers. It is different technology - allen.Klein commented on April 4th 20 at 13:22
April 4th 20 at 13:06
In the yard the year 2020, there is no need to use Jquery.
Most customers have not use IE in principle. If you really need to support IE, Yes, Babel will help.
Most customers have not use IE in principle.

If... - Terrell commented on April 4th 20 at 13:09
there are still reasons
https://habr.com/ru/company/ruvds/blog/455509/ - Vallie_Anders commented on April 4th 20 at 13:12

Find more questions by tags JavaScript