-
Notifications
You must be signed in to change notification settings - Fork 236
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prevent to implement OnChanges and DoCheck on the same class #560
Comments
It makes sense. 👍 |
@wKoza Do you have any name in mind for this rule? |
|
I like this name. I'm implementing it right now. Do you think this rule needs to be made in a generic way to provide flexibility or only for |
My 2 cents, an important part of this quote is "on the same input" Using OnChanges and DoCheck to respond to independent changes is a relevant usage. |
According to DoCheck#description:
I thought it was a good idea to add a rule to prevent this.
The text was updated successfully, but these errors were encountered: