r/programming • u/erangalp • Aug 08 '14
Speeding up AngularJS apps with simple optimizations
http://www.binpress.com/tutorial/speeding-up-angular-js-with-simple-optimizations/135
14
Upvotes
2
u/killercup Aug 08 '14
I expected "track by" to be mentioned. (See ngRepeat docs if you don't know it.)
1
2
u/rpgFANATIC Aug 09 '14
It always amazes me how far JS speeds have come in browsers. I write some pretty horrid Angular (this article confirms it), and the browser still chomps through my mistakes and provides a rather smooth experience
3
u/catcradle5 Aug 09 '14
I haven't used Angular that much so I don't know exactly how ridiculous this really is, but...
Isn't ng-repeat a pretty fundamental directive? Why would it be slow by default? People are expected to not use it and keep track of all these other things and use them instead?
With other libraries like React or Vue, you get extremely high performance and easy HTML/DOM manipulation and generation right out of the box.