New release of lit-html-server with template rendering in the browser - as ReadableStreams! Now you can use the same lit-html template on the server, in a ServiceWorker, and in the browser (via lit-html)!!
https://github.com/popeindustries/lit-html-server#rendertostreamtemplateresult-readablestream …
/cc @jeffposnick @jaffathecake
-
-
Great work! I'm working on SSR + hydration now, so I'll take a deeper look ASAP.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
JavaScript, HTML, CSS, HTTP, performance, security, Bash, Unicode, i18n, macOS.