Skip to content

Checks in valid and invalid state computed properties not needed #5850

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

Closed
1 of 4 tasks
deb17 opened this issue Oct 2, 2020 · 0 comments · Fixed by #5862
Closed
1 of 4 tasks

Checks in valid and invalid state computed properties not needed #5850

deb17 opened this issue Oct 2, 2020 · 0 comments · Fixed by #5862

Comments

@deb17
Copy link

deb17 commented Oct 2, 2020

Documentation issue

  • Reporting a typo
  • Reporting a documentation bug
  • Documentation improvement
  • Documentation feedback

Is there a specific documentation page you are reporting?

Form group

Additional context or description

In the first example,

  1. validFeeback computed property need not check if state is true as it is the valid state feedback.
  2. invalidFeedback computed property need not check this.name.length > 4 because then the state would be valid and this property would not be used.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants