Replies: 1 comment
-
We definitely want to support SSR... sadly it's not high on the priority list now 🙈 I expect it to be quite some work
To summarize I think there are like two things we would need to improve on SSR and a lot more on the lion code itself... |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Heya, I've been working on SSR-ing lit.dev and we use lion combobox, but we've run into a few issues while attempting to SSR lion-wc. In particular:
"type": "module"
or JS files must use.mjs
extension"type": "module"
only to ssr-compatible components might be a good way to advertise "this is SSR ready"connectedCallback
willUpdate
andconstructor
I've spun up a super simple lit SSR project on glitch, but I highly recommend downloading the project locally as glitch has some weird problems specific to node because of its online environment. Also, tried stackblitz, but it runs such a unique custom implementation of Node 13 (we are on 17 now) so that was generally untenable.
Happy to share any domain knowledge on the topic!
Beta Was this translation helpful? Give feedback.
All reactions