Skip to content

va-search-input: Resolve Stencil test warning about isTouched re-rendering #3539

Open
department-of-veterans-affairs/component-library
#1414
@jamigibbs

Description

@jamigibbs

Description

There is a Stencil test warning that we should resolve for va-search-input:

Image

A draft PR has been created that removes the @State decorator because it didn't seem like the correct use of @State Every time that variable is set, it's causing a full re-render of the component.

This solution or any alternate solution needs to be tested in vets-website. Specifically, we need to make sure the following issue is still fixed and there hasn't been any other regressions:

Tasks

  • resolve the Stencil warning for isTouched
  • verify that no regression were introduced in vets-website

Acceptance Criteria

  • the isTouched test warning is resolved

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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