-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Perfomance #648
Comments
What version of the library are you using? |
v0.9.6 |
+1 |
+1 one time binding is the key, meanwhile you can use https://github.com/tadeuszwojcik/angular-once |
One time bindings are available in angular 1.3 |
there is no where to use the one time bindings with ui-select, at least nowhere i can see. I love the way it functions but it is very heavy with all the watchers |
The number of watchers is a big killer with ui-select. I have a page with about 10 ui-select directives each with about 5 items in each. This is contributing to a watcher count in the thousands and the application performance is very poor. The ability to do one-time bindings to reduce this count, as well as a straightforward way to disable animations would make a huge difference to ui-select. |
+1 |
2 similar comments
+1 |
+1 |
Thanks for the refs to that issues |
+1 |
Your script is great, but it's rather heavy.
One select with only 5 options can add even 50 watchers.
Maybe there is something to optimize? Using ng-if instead of ng-show? One time bindings?
The text was updated successfully, but these errors were encountered: