Releases: lit/lit
lit@3.1.4
lit-html@3.1.4
lit-element@4.0.6
@lit/task@1.0.1
Patch Changes
-
#4552
4050cac6
Thanks @jrencz! - Makestatus
of Task a readonly propertySo far
status
was writable which allowed for setting status of task form outside. Doing so did cause rendering of
expected template but the task was becoming internally incoherent.Now attempt to assign
status
will end up in throwing aTypeError
.
@lit/context@1.1.2
Patch Changes
- #4598
7cfb2274
Thanks @jun-sheaf! - Usetarget.set
instead of member assignment in@consume()
decorator.
@lit-labs/virtualizer@2.0.13
Patch Changes
- #4564
6b4b45ff
Thanks @IMinchev64! - Guard top-levelwindow
withtypeof
check so that importing the code will not throw when imported in non-browser environments without a globalwindow
defined. Note, this on its own will not server render items inside the virtualizer, but it will no longer error when attempting to do so.
@lit-labs/gen-manifest@0.3.3
@lit-labs/analyzer@0.12.1
@lit/react@1.0.5
@lit-labs/ssr-react@0.3.0
Minor Changes
-
#4575
aa4fc3ef
- The Node build of@lit-labs/ssr-react/enable-lit-ssr.js
now also monkey-patchesreact/jsx-runtime
to include logic for deeply server-rendering Lit components without modifyingjsxImportSource
in tsconfig.The monkey-patching logic also adds a workaround for inconsistent es module interop behavior in tools like webpack which could lead to errors like
TypeError: Cannot set property createElement of [object Module] which has only a getter
.