Back to packages list

Vals using lit

Description from the NPM package:
A library for building fast, lightweight web components
pomdtr avatar
lit_example_component
@pomdtr
script
An interactive, runnable TypeScript val by pomdtr
tmcw avatar
litExample
@tmcw
script
lit Lit is kind of like Google's answer to React: it's a little more reliant on browser APIs like custom elements and the shadow DOM, a little less 'magic', like using JSX. This is an example of using Lit and rendering it straight to a string, which is something that's recently popular. It works pretty well, right off the bat: Lit provides nice ESM modules and a pretty smooth workflow!
1
Next