-
Notifications
You must be signed in to change notification settings - Fork 15
Description
Motivation
In a recent release, Lit's SSR DOM Shim added support for CSS Module Scripts! π
https://github.com/lit/lit/blob/main/packages/labs/ssr-dom-shim/CHANGELOG.md#150
We should make sure this works seamlessly with Greenwood and also remove this from the caveats section of the README
https://github.com/ProjectEvergreen/greenwood/blob/master/packages/plugin-renderer-lit/README.md#caveats
Technical Design
I am hoping we can just inline this support into the execute module script of the plugin, so user's don't have to manually instrument the loader hook themselves
Note: testing this will be / is blocked on #1463
On a related, can Greenwood can just "inline" its own loader hook too - https://github.com/lit/lit/blob/main/packages/labs/ssr-dom-shim/src/register-css-hook.ts !? π«¨
Additional Context
Some additional things to check in on while we're here (may need their own issues)
- Pass through / enable connected callbacks - https://github.com/lit/lit/releases/tag/%40lit-labs%2Fssr%403.3.0
- Support Shadow DOM based custom elements for pages (maybe just needing to add a test case / updating the docs)
Metadata
Metadata
Assignees
Labels
Type
Projects
Status