-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Lit] add client:only
functionality to Lit integration
#6111
Conversation
🦋 Changeset detectedLatest commit: 5782159 The changes in this PR will be included in the next version bump. 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 |
failures seems like a flakes. Here is the Run from the commit before "add changeset" https://github.com/withastro/astro/actions/runs/4080151290/jobs/7032330368 |
ping @matthewp LMK WYT about some of the choices made |
np, code looks good. Just a minor point about whether this is patch/minor for the integration. And yes the test is a flaky one, I'll rerun it. |
Tests pass, feelsgoodman 😌 |
Looks great, thanks! Will likely be released tomorrow. |
Changes
(note: I formatted
integrations/lit/src/client.ts
so the diff is uggo. Try?w=1
@astrojs/lit
to probable renderers listclient:only
slot="..."
to slotted HTML stringsTesting
I added the widely-used client:only test to the lit e2e tests and added slot & shadow dom-specific tests.
Docs
Add Lit to the
client:only
docs/cc @withastro/maintainers-docs for feedback!