Is it a good or bad practice to use AngularJS together with jQuery?

Technology CommunityCategory: AngularJSIs it a good or bad practice to use AngularJS together with jQuery?
VietMX Staff asked 3 years ago

It is definitely a bad practice. We need to stay away from jQuery and try to realize the solution with an AngularJS approach. jQuery takes a traditional imperative approach to manipulating the DOM, and in an imperative approach, it is up to the programmer to express the individual steps leading up to the desired outcome.

AngularJS, however, takes a declarative approach to DOM manipulation. Here, instead of worrying about all of the step by step details regarding how to do the desired outcome, we are just declaring what we want and AngularJS worries about the rest, taking care of everything for us.