Navigation Menu

Skip to content
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

dom-module forces CustomElements.upgradeAll each time an element without a dom-module is registered #2708

Closed
kevinpschaaf opened this issue Nov 9, 2015 · 0 comments
Assignees
Labels

Comments

@kevinpschaaf
Copy link
Member

Code in dom-module added to ensure non-upgraded dom-modules can be found by registering elements has an undesired side-effect of doing potentially expensive tree walks for each element registered that intentionally has no dom-module. Issue is to consider avoiding these expensive tree-walks somehow.

@kevinpschaaf kevinpschaaf added the p1 label Nov 9, 2015
sorvell pushed a commit that referenced this issue Nov 10, 2015
… allowable setting. This means the element stamps no content, doesn't collect any styles, and avoids looking up a dom-module. This helps address #2708 and the 5 elements Polymer registers that have no template have been set with `_template: null`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants