Re:Web Components Eliminate JavaScript Framework Lock-In
by gitaarik on Tuesday November 28, 2023 @01:28PM
(#38449247)
Well, any popular framework has all these things, and most frameworks have a lot more. Lit is really the littlest amount of tools you would want. With less than that, you can just as well directly use the web component APIs, and not use a framework / library at all. I don't know what you imagine would be a less opinionated way without having to chip in on usability.
[ Parent
| on HN ]
Re:Web Components Eliminate JavaScript Framework Lock-In
by troupo on Tuesday November 28, 2023 @06:32PM
(#38453156)
> Lit is really the littlest amount of tools you would want.
- reactivity. Specific to lit
- declarative templates. Specific to lit
- SSR. Specific to lit.
- context. Specific to lit.
- tasks. Specific to lit
- directives. Specific to lit
"littlest amount of tools"
Re:Web Components Eliminate JavaScript Framework Lock-In
by gitaarik on Wednesday November 29, 2023 @02:39AM
(#38456630)
SSR, context and tasks are all separate packages, not in the Lit core package. The others are very basic functionalily for what you expect from a framework like Lit. It has to do something ultimately :D
Re:Web Components Eliminate JavaScript Framework Lock-In
by troupo on Wednesday November 29, 2023 @06:43AM
(#38458239)
> SSR, context and tasks are all separate packages, not in the Lit core package.
Splitting hairs
> The others are very basic functionalily for what you expect from a framework like Lit.
Indeed. Framework like Lit. These mental hoops and shenaningans lit defenders have to jump and go through to pretend lit is somehow not a framework and somehow different.
Literally the very first example you get on lit's own page show how invalid all those claims are: https://lit.dev/docs/components/overview/