0

I'm wondering if it is fine to include and use jQuery in an Angular project. Should I prefer Vanilla JS when I write my functions or can I use jQuery selectors and methods?

Jonathan
  • 375
  • 1
  • 7
  • 18
  • Read [“Thinking in AngularJS” if I have a jQuery background?](https://stackoverflow.com/questions/14994391/thinking-in-angularjs-if-i-have-a-jquery-background) – Satpal May 01 '17 at 05:46
  • Thanks Satpal. Good documentation :) – Jonathan May 01 '17 at 06:21

1 Answers1

1

If you are using data on your page, it's recommended don't use jquery to manipulate bound data at all! But for elements which are not bound to angular, you can use jquery.

My personal experience about angular is using angular alone but with a right and strong architecture which allow you handle every place of your code. Otherwise with combining Jquery and Angular, may be, you face with some conflicts in future.

Siamak Ferdos
  • 3,181
  • 5
  • 29
  • 56