0

I know that Angular 1 ran a subset of jQuery called jqlite. Does Angular 2 support an expanded subset? and moreover, does angular 2 still support direct-inject jQuery?

Beshoy Hanna
  • 611
  • 2
  • 9
  • 29
  • http://www.syntaxsuccess.com/viewarticle/using-jquery-with-angular-2.0, http://stackoverflow.com/questions/30623825/how-to-use-jquery-with-angular2 – eko May 06 '16 at 12:02

1 Answers1

1

I don't know what you mean by "support direct-inject jQuery". You can use jQuery with Angular but if you want to use features like WebWorker or serverside rendering you can't use jQuery with Angular. Angular itself doesn't provide a subset of jQuery.

I think it's considered bad practice to use and direct DOM access in general should be avoided.

Günter Zöchbauer
  • 623,577
  • 216
  • 2,003
  • 1,567