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
issue warning when calling polymerCreated twice #15360
Comments
Removed Priority-Unassigned label. |
Removed Priority-Medium label. |
Added Polymer-P-2 label. |
Removed this from the Later milestone. |
Removed Polymer-P-2 label. |
Removed Polymer-Milestone-Later label. |
This issue has been moved to dart-archive/polymer-dart#371. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Common error:
- extend DivElement, use 'polymerCreated' explicitly
- switch to extend PolymerElement, but forgot to remove the 'polymerCreated' call.
- problem: polymerCreated is invoked twice
Possible solutions:
- provide warnings in the linter: this is unfortunately something we can't do without full use of the dart analyzer/resoltion, which can be expensive
- make polymerCreated reentrant (at least print a warning the second time it's invoked).
The text was updated successfully, but these errors were encountered: