Polymer / polymer

Our original Web Component library.
https://polymer-library.polymer-project.org/
BSD 3-Clause "New" or "Revised" License
22.05k stars 2.02k forks source link

Read the CSS build type at the first instance creation rather than at registration time. #5572

Closed bicknellr closed 2 years ago

bicknellr commented 5 years ago

If dom-modules are not upgraded by the time the component is registered, then the style transformer will not know what type of CSS build has happened, if any. This PR delays reading this information until the first instance is created, in case the dom-module for that element has loaded in the mean time.

stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically closed after being marked stale. If you're still facing this problem with the above solution, please comment and we'll reopen!