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

Documentation improvement for $watch, $watchCollection #9388

Closed
atticoos opened this issue Oct 2, 2014 · 2 comments
Closed

Documentation improvement for $watch, $watchCollection #9388

atticoos opened this issue Oct 2, 2014 · 2 comments

Comments

@atticoos
Copy link

atticoos commented Oct 2, 2014

This is an important piece for large applications, and one that is often misunderstood.

Tero Parviainen posted a great piece on a brief overview of the difference between reference watchers, collection watchers, and equality watchers.

http://teropa.info/blog/2014/01/26/the-three-watch-depths-of-angularjs.html

angular_watch_depths

I think the docs could benefit from something like this.

@btford
Copy link
Contributor

btford commented Oct 6, 2014

Why not ping Tero Parviainen and ask him to submit a PR?

@btford btford added this to the Backlog milestone Oct 6, 2014
@teropa
Copy link
Contributor

teropa commented Oct 7, 2014

Sure, why not. I'll see how this kind of graphic might fit into the Scope doc and make a PR if it seems worth it.

teropa added a commit to teropa/angular.js that referenced this issue Oct 24, 2014
Describe and visualize the three watch strategies: By reference, by collection items, and by value.

Closes angular#9388
btford pushed a commit that referenced this issue Nov 3, 2014
Describe and visualize the three watch strategies: By reference, by collection items, and by value.

Closes #9388
@btford btford closed this as completed in 0f7bcfd Nov 3, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants