jQuery with Angular and React

Asked

Viewed 51 times

0

I started studying Angular and React recently and I have a question for those who are experienced with these technologies. Using them together with jQuery is inappropriate?

  • 1

    You have to wonder why you want to do this

  • 2

    Although it is possible to integrate them, it is not recommended, since the React will not be "aware" of the changes made to the DOM by jQuery.

  • As the colleagues above answered, it is unsuited. There is no reason to do so, is to add complexity instead of removing.

  • I’ll tell you what I know. React uses a "virtual version" of the DOM. This Virutal version of the DOM is nothing more than a "data set" of the DOM and not the DOM itself. The idea behind this is that the DOM itself carries a lot of data and therefore can lead to performance/maintenance problems in large sized applications. The virtual DOM approach abstracts the relevant parts and makes only the necessary updates. So it makes no sense to use jQuery together with React, because it will bring serious performance problems to your React application.

  • To finish I leave this reply from Sergio! It can be very useful and will clarify some points for you!

  • Thank you all very much for your answers! I am web designer, I have great knowledge in jQuery to create components and animations and recently I started studying Angular and React, I thought in full los with jQuery to take advantage of the knowledge I have in the library. The components in React and Angular have all the same face, in my opinion I found it complicated to customize them.

Show 1 more comment
No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.