You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
It is planned, in the future, to have static bindings for data that isn't meant to change, something like bindonce but official and that works with all the bindings?
It is a very usefult feature for big apps that need to render some data client side and don't want to increase an already big memory usage & long computation times due to additional watchers that are completely unnecessary.
The text was updated successfully, but these errors were encountered:
I'm all for something like that, as well as an option to disable descending into children of a scope during $digest (to avoid unnecessary $watches)
I've been thinking about ways to do it which are elegant and wouldn't break anything. If you're interested in writing a patch to incorporate some of the optimizations mentioned in Optimizing AngularJS: 1200ms to 35ms, I'd really love to get (some) of these into core at some point, in a fashion which doesn't break anything.
That said, feature requests are typically more for discussion on the mailing list or IRC network, and not the bug tracker.
@caitp I read here that this is the place for feature requests unless you want to implement major changes. Also I'm not going to do a pull-request, just asking :)
Well, at least some of us would certainly like to have this behaviour at some point in core, but I'm not sure it's "planned". The fact that it's available from 3rd party modules means that it might be a while before it's really worth even trying to get similar functionality into core.
I'm not saying it won't happen, but it's not clear if/when it will happen just yet.
Bindonce is avalaible but it's some bugs, and could stop working at any time, I don't know exactly how directives are written for the core modules but it would be enough to separate the dom part from the digest/watchers part
Hi!
It is planned, in the future, to have static bindings for data that isn't meant to change, something like bindonce but official and that works with all the bindings?
It is a very usefult feature for big apps that need to render some data client side and don't want to increase an already big memory usage & long computation times due to additional watchers that are completely unnecessary.
The text was updated successfully, but these errors were encountered: