-
Notifications
You must be signed in to change notification settings - Fork 2
Hot reloading takes a lot of time #13
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
Comments
Possible reason? |
We're using this library in a professional project. It's done well for us so far, but the biggest problem (out of many) is that hot-reloading in NextJS stops working when we use our library. Also, consequently I think, builds take too long. We are considering revamping all our project's interface due to this. It's a huge issue. If someone could fix this for us, that'd be awesome. Hint: We've set up a bounty of 17.5 USD (negotiable) if someone from the community takes it up and delivers. |
Okay, so I tried reproducing the issue and have noticed two things. The hot reload does not seem to work when I do When I refresh the following logs are outputted, I feel this might be very relevant: Multiple versions of Lit are also loaded which might explain why it takes so long to hot reload. reproduce_hot_reload_comp.mov |
When developing using this library, hot reloads take a lot of time.
This occurs not only in the demo in this repo, but also happens in external projects using this library as an installed package.
I have a hunch it's because of Lit, or because of
getSlotProp
.The text was updated successfully, but these errors were encountered: