Avatar of downdijk
designer, programmer at Downdijk·
Needs advice
on
JavaScriptJavaScriptjQueryjQuery
and
ReactReact
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·25.8K views
Replies (3)
Recommends
on
JavaScriptJavaScript

I thinl javascript is a good choice

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

Thank you for your advice

·
Reply
Recommends
on
JavaScriptJavaScript

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·22.8K 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