Skip to content
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

feat: new rule no-this-assign-in-render #146

Merged
merged 1 commit into from
Nov 28, 2022
Merged

feat: new rule no-this-assign-in-render #146

merged 1 commit into from
Nov 28, 2022

Conversation

43081j
Copy link
Owner

@43081j 43081j commented Nov 27, 2022

Fixes #90

@stramel @bennypowers could you both take a look if you get time? and be sure it all makes sense.

this is a very similar rule to no-property-change-update but instead of specifically looking for observed properties, it disallows all this assignments (in the render method too rather than the update method).

Copy link

@bennypowers bennypowers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Les garcons tres magnifiques

@43081j 43081j merged commit 950ef6d into master Nov 28, 2022
@43081j 43081j deleted the this-render branch November 28, 2022 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add rule to disallow of side-effects inside the render method
3 participants