Closed gordonbrander closed 3 months ago
Lit uses styles and render. This leaves the variable names html and css free for tagged template literals. We may want to consider doing the same for ergonomics.
styles
render
html
css
type ComponentProps<T> = { tag: string, styles: () => Array<CSSStyleSheet>, render: (props: T) => HTMLElement, }
Lit uses
styles
andrender
. This leaves the variable nameshtml
andcss
free for tagged template literals. We may want to consider doing the same for ergonomics.