-
-
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
unable to use lit context with lit integration #9430
Comments
Yes, that is likely why, we are upgrading to Lit 3 here: #9406 Like, today. Closing, please reopen if you have an issue after you upgrade. |
Oh. I was really hoping that was the cause. I am still seeing the error after the upgrade.
I have updated the reproduction at stackblitz. |
It's an upstream bug. I've filed an issue for you here: lit/lit#4457 |
Interesting. If it is SSR related, if I mark the components client only, would that work around the bug? |
interesting. IN case anyone finds this, client:visible does not work around the bug, but client:only does |
Thanks for your support!! |
Yeah, the problem is that it can't run on the server, so |
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Chrome and on the command line with astro build
Describe the Bug
on attempting to use the lit context per https://lit.dev/docs/v2/data/context/
I get
This may be because this version of the context libraries are deprecated, but I cannot upgrade them due to #728
What's the expected result?
It should compile a page and display something useful. Ideally it should entirely work as documented.
Link to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-gxjipq?file=src%2Fpages%2Findex.astro
Participation
The text was updated successfully, but these errors were encountered: