Describe the bug
When rendering an element, the customElementConstructor doesn't always have the properties of an element available, and the rendering errors with
TypeError: Cannot read properties of undefined (reading 'variant') 11:45:54
at Proxy.attachPropsToRenderer (file:////nuxt3/node_modules/nuxt-ssr-lit/dist/runtime/components/LitWrapperServer.mjs:38:70)
at Proxy.serverPrefetch (file:////nuxt3/node_modules/nuxt-ssr-lit/dist/runtime/components/LitWrapperServer.mjs:75:12)
Nuxt version: 3.0.0
Nuxt-ssr-lit: 1.1.0
Additional context
The there is a computed map of properties available called elementProperties - use that instead
Describe the bug When rendering an element, the customElementConstructor doesn't always have the
properties
of an element available, and the rendering errors withAdditional context The there is a computed map of properties available called
elementProperties
- use that instead