designer, programmer at Downdijk·
Needs advice
on
ReactReactjQueryjQuery
and
JavaScriptJavaScript
in

I use jQuery at the moment because I use it for a lot of years already, but now Bootstrap 5 decided to switch to JavaScript, I am thinking of switching to an alternative.

I use jQuery only for the DOM integration, animations and ajax calls because JavaScript calls to a class looks such a long call. I like the way of jQuery with $(document).on('click','.something',function() {});

By the way, I like to keep using HTML, PHP and Bootstrap as I do now.

READ LESS
10 upvotes·9.7K views
Replies (3)
Recommends
JavaScript

I thinl javascript is a good choice

READ MORE
3 upvotes·1 comment·8.9K views
Adan van Dijk
Adan van Dijk
·
August 9th 2021 at 5:01PM

Thank you for your advice

·
Reply
Recommends
JavaScript

Hi Adan,

Javascript has changed quite a bit in the recent years and lot of it was inspired from jquery. Now almost all modern browsers support javascript syntax everything that jquery does with few elaborate / sometimes better alternatives. So, if you like to switch, find the equivalents of what portions of jquery you use and replace those parts. Btw, jquery is still nicer sometimes with its method chaining and a lot simpler syntax - the equivalent in js may not be that sugary syntactically.

READ MORE
10 upvotes·1 comment·9.3K views
Adan van Dijk
Adan van Dijk
·
August 10th 2021 at 4:05AM

Thank you for the explanation and i think ill switch to plain JS.

·
Reply
View all (3)
Avatar of Tekno Tok