@lit-labs/ssr-client

Client package for @lit-labs/ssr.

Usage no npm install needed!

<script type="module">
  import litLabsSsrClient from 'https://cdn.skypack.dev/@lit-labs/ssr-client';
</script>

README

@lit-labs/ssr-client

A set of client-side support modules for rendering Lit components and templates on the server using @lit-labs/ssr.

Overview

Package contents:

  • directives/render-light.js: A child-position directive that invokes and renders the parent custom element's renderLight method as its value.

Contributing

Please see CONTRIBUTING.md.