Add rule "Component change detection strategy should be OnPush" (GCI536) - #406
Add rule "Component change detection strategy should be OnPush" (GCI536)#406hindsellouk wants to merge 5 commits into
Conversation
|
Hi @hindsellouk , could you :
|
|
@hindsellouk I think this rule is to generic, Angular doc said that "It could be usefull" and "It may be effective on performance". So this rule is situational and it's difficult to determine if it should be used (with static analysis) |
utarwyn
left a comment
There was a problem hiding this comment.
Hello! Thank you for the first Angular rule proposal 🥳
I also think we lack precise measurements of the effectiveness and relevance of using OnPush rather than the default detection system. Can you provide us with precise documentation and why not run some benchmarks ourselves?
It will also be very useful to reference them in the rule documentation. In the meantime, I propose not to merge the PR.
|
This PR has been automatically marked as stale because it has no activity for 60 days. |
|
Just few thoughts about the rule, to be discussed further I think:
|
|
This PR has been automatically marked as stale because it has no activity for 60 days. |
No description provided.