-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filters? #48
Comments
I think there is something to say on filters. Next to directives, they may be the most abused feature in Angular, IMO. Filters can be a perf drain if not used wisely ... as when a filter hits a large and deep object graph. When used wisely, they are great. I'll consider adding some styles ... but mostly for filters, its about perf, which may not be appropriate in this doc. |
While too much info on perf may not really belong in this document, I think it would still be worth mentioning that they are to be used with caution and add some basic style guidelines. 👍 |
I think explaining briefly the performance issues coming with filters fit in this document, just like the use of IIFE is to avoid naming conflicts, for example. |
I'll keep this open and add something ... when I have some free time :) |
Maybe we should create a new document: "The opinionated AngularJS Performance Guide - by John Papa" 😏 |
Based in this closed issue (angular/angular.js#10110) I guess that it's a good idea mention in the filter section that filters should not have periods or other special characters. |
Should there be a section on filters?
The text was updated successfully, but these errors were encountered: