popeindustries / lit

Fast server-rendering and client-hydration of lit-html templates and web components
MIT License
33 stars 4 forks source link

Remove `hydratableWebComponents` option #5

Closed popeindustries closed 2 years ago

popeindustries commented 2 years ago

This doesn't really work in practice if a root custom element needs data to render, since it would be difficult to set data before the hydration is triggered on element connect.

(technically this would be a major change, but since it hasn't been very long since first release, will ship as patch instead)

changeset-bot[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: 08701175666905336f309cace570bcf57542ff2e

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages | Name | Type | | ------------------------------- | ----- | | @popeindustries/lit-html-server | Patch | | @popeindustries/lit-element | Patch | | @popeindustries/lit | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR