no-property-change-update states that changing properties will not trigger a re-render. This is incorrect, as long as you're calling super last it works fine.
This is a prime use case for creating computed properties. Doing this in updated will trigger two renders for a single change. As it is I don't think it should be a linting rule, especially not a recommended one, because it will confuse developers.
Is it possible to detect the call to super? Then the rule would make sense.
no-property-change-update
states that changing properties will not trigger a re-render. This is incorrect, as long as you're calling super last it works fine.This change will be taken along properly:
This won't:
This is a prime use case for creating computed properties. Doing this in
updated
will trigger two renders for a single change. As it is I don't think it should be a linting rule, especially not a recommended one, because it will confuse developers.Is it possible to detect the call to super? Then the rule would make sense.