Why should not I use Jquery with React?

1

What would be the disadvantage when using jQuery with React? For I am turning a site that is all in jQuery to React and I see in many forums the staff saying that it is not good practice to use jQuery next to React but with no complete explanation for disuse.

    
asked by anonymous 22.05.2018 / 22:53

1 answer

3

React already has its own way of manipulating the DOM, so by using jquery you would be forcing the react to work a lot more, and rendering the elements more often, since that would not be in control of it. Take a look at how React manipulates the DOM, the virtual gift it creates, to optimize the re-rendering of elements on the screen, and in addition, you can do it all more easily with React, it does not make sense to use Jquery

    
23.05.2018 / 15:01