Category "lit-element"

What is the "right" way to nest components?

This seems like a very basic questions, but neither the documentation nor code examples I found were able to tell me. Given the following example: import { Flow

litelement - how to compute style based on property or attribute values

I'm following the LitElement guide here but can't seem to get my custom element's style values calculated based on it's attribute. I want my element to be writ

Can I use ES Modules library from CDN?

I want to use this library via CDN.https://www.jsdelivr.com/package/npm/lit-element My js code is here. import { LitElement, html } from "https://cdn.jsdelivr

Main differences between lit-element & React [closed]

Looking into React code it seems more similar to "Lit-Element" code, Both can be used to create web components. It is very helpful if someone