Skip to content
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

Not working with lit@3 #60

Open
zkat opened this issue May 17, 2024 · 1 comment
Open

Not working with lit@3 #60

zkat opened this issue May 17, 2024 · 1 comment

Comments

@zkat
Copy link

zkat commented May 17, 2024

Hi, I'm trying to use this plugin with lit@3, and the redefinition apparently happens, and the Proxy gets defined and everything, but the element never renders. Any idea what might be going on?

@vegarringdal
Copy link
Owner

Sorry must have missed notification about this one.
Maybe we mess override some methods lit defines/ or lit overrides something we define/caches.
So when its library creating web-componets a lot can go wrong

Have you tried this:
https://open-wc.org/docs/development/hot-module-replacement/

if you still need this, then please create a very simple sample repo using vitejs then I can prob have a look.
Just cant promise Ill get it to work :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants