@lit-labs/ssr
Advanced tools
Comparing version 3.3.0 to 3.3.1
@@ -46,3 +46,3 @@ /// <reference lib="dom" /> | ||
}; | ||
const templateCache = new Map(); | ||
const templateCache = new WeakMap(); | ||
// This is a map for which slots exist for a given custom element. | ||
@@ -49,0 +49,0 @@ // With a named slot, it is represented as a string with the name |
{ | ||
"name": "@lit-labs/ssr", | ||
"type": "module", | ||
"version": "3.3.0", | ||
"version": "3.3.1", | ||
"publishConfig": { | ||
@@ -6,0 +6,0 @@ "access": "public" |
@@ -5,5 +5,20 @@ # @lit-labs/ssr | ||
> [!WARNING] | ||
> | ||
> This package is part of [Lit Labs](https://lit.dev/docs/libraries/labs/). It | ||
> is published in order to get feedback on the design and may receive breaking | ||
> changes or stop being supported. | ||
> | ||
> Please read our [Lit Labs documentation](https://lit.dev/docs/libraries/labs/) | ||
> before using this library in production. | ||
> | ||
> Documentation: https://lit.dev/docs/ssr/overview/ | ||
> | ||
> Give feedback: https://github.com/lit/lit/discussions/3353 | ||
## Status | ||
`@lit-labs/ssr` is pre-release software, not quite ready for public consumption. As we develop it we are using it as a test bed to ensure that new versions of `lit` (`lit-html` and `lit-element`) are SSR-ready. We expect that the foundational SSR support in this package will support a wide variety of use cases, from full-blown app rendering frameworks built on top of web components, to framework-specific plugins for rendering custom elements in e.g. React or Angular, to pre-rendering plugins for static site generators like 11ty. Please stay tuned and file issues with use cases you'd like to see covered. | ||
`@lit-labs/ssr` is pre-release software, not quite ready for public consumption. | ||
If you try Lit SSR, please give feedback and file issues with bugs and use cases | ||
you'd like to see covered. | ||
@@ -10,0 +25,0 @@ ## Server Usage |
Sorry, the diff of this file is not supported yet
286709
275