Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

AngularJS optimization directives #7943

Closed
vko-online opened this issue Jun 23, 2014 · 4 comments
Closed

AngularJS optimization directives #7943

vko-online opened this issue Jun 23, 2014 · 4 comments

Comments

@vko-online
Copy link

In one blog some guys made interesting directives which optimize angular ng-repeat, ng-show-hide and so on. Why not include such directives in core? Minimal ng-repeater [which obviously poor(bindOnce) but fast]. Of course it's not problematic to use them from 3d part. But why not?

@Narretz
Copy link
Contributor

Narretz commented Jun 23, 2014

One time bind has been included in 1.3.0-beta.10. There are still some bugs to be ironed out, but it's definitely coming to core.

@Narretz Narretz closed this as completed Jun 23, 2014
@vko-online
Copy link
Author

what about slyPreventEvaluationWhenHidden, slyEvaluateOnlyWhen from this? Think they are very useful

@Narretz
Copy link
Contributor

Narretz commented Jun 23, 2014

Oh, sorry I thought you only referred to bindonce. If you want to kick of the discussion on conditional scope bindings / watchers / evaluation, I think it's better to start a new topic which refers exactly to the https://github.com/scalyr/angular sly directives to avoid any confusion.

@vko-online
Copy link
Author

#7945

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants