Skip to content
This repository has been 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

Open
sorvell opened this issue Apr 21, 2016 · 1 comment
Open
Milestone

Comments

@sorvell
Copy link

sorvell commented Apr 21, 2016

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.

@bicknellr
Copy link
Contributor

:)

@notwaldorf notwaldorf added this to the 2.0 milestone Jul 13, 2016
@notwaldorf notwaldorf removed their assignment Jul 13, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants