Patch Changes
- #2002
ff0d1556
- Fixes polyfill-support styling issues: styling should be fully applied by firstUpdated/update time; late added styles are now retained (matching Lit1 behavior)
- #2034
5768cc60
- Reverts the change in Lit 2 to pause ReactiveElement's update cycle while the element is disconnected. The update cycle for elements will now run while disconnected as in Lit 1, however AsyncDirectives must now check thethis.isConnected
flag duringupdate
to ensure that e.g. subscriptions that could lead to memory leaks are not made when AsyncDirectives update while disconnected.
- #1918
72877fd
- Changed the caching strategy used in CSSResults returned from the css tag to cache the stylesheet rather than individual CSSResults.
- #1942
c8fe1d4
- For minified class fields on classes in lit libraries, added prefix to stable properties to avoid collisions with user properties.
- #1917
550a218
- Use a brand property instead of instanceof to identify CSSResults to make the checks compatible with multiple copies of the @lit/reactive-element package.
- #1959
6938995
- Changed prefix used for minifying class field names on lit libraries to stay within ASCII subset, to avoid needing to explicitly set the charset for scripts in some browsers.
- #1943
39ad574
- Add support for private custom element constructors in @CustomElement().