Skip to content
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
This repository was archived by the owner on Dec 19, 2024. It is now read-only.

Avoid creating an iron-meta for every instance of iron-validatable #23

@sorvell

Description

@sorvell

An instance of IronMeta is created for every element that implements this behavior here: https://github.com/PolymerElements/iron-validatable-behavior/blob/master/iron-validatable-behavior.html#L84. To improve performance, the element should use one IronMeta or an IronMetaQuery and set type to validatorType before looking up the validator byKey. I'd also recommend seeing if this work can be done in an observer for the validator property rather than a getter.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions