Skip to content

Conversation

jelbourn
Copy link
Member

R: @hansl @kara
CC: @robertmesserle

This is something I'd forgot to mention earlier. The general idea here is that the onPush strategy tells Angular to only check the component and its view children when either one of its @Input properties change or when an event is handled. For components that only bind either primitives or immutable objects, this should "just work" and speed up change detection. As far as I can tell, all of the components so far just bind primitives (or nothing at all, for cards).

@googlebot googlebot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Feb 11, 2016
@hansl
Copy link
Contributor

hansl commented Feb 11, 2016

Interesting. LGTM.

@hansl
Copy link
Contributor

hansl commented Feb 11, 2016

Question: is it only for this component or also for its content components?

@jelbourn
Copy link
Member Author

@hansl It applies to the the component's view but not its content.

@jelbourn jelbourn mentioned this pull request Feb 11, 2016
@jelbourn jelbourn merged commit 2cc9ae5 into angular:master Feb 11, 2016
@jelbourn jelbourn deleted the push-strategy branch May 19, 2016 16:56
andrewseguin pushed a commit to andrewseguin/components that referenced this pull request Oct 15, 2018
* regen filkes

* Fix firebase not loading example sources
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Sep 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes PR author has agreed to Google's Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants