Skip to content

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

@deb17

Description

@deb17

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions