the bottom section talks about "web component frameworks", i.e., frameworks that use javascript's native web components rather than creating their own special component format.
the article says:
> In my opinion, most projects still benefit from using a frontend framework over pure web components—or, at the very least, both together. Maybe that will change in the future, but for now, I think the tradeoffs still tilt away from a pure web component approach in most cases.
but doesn't provide any real argument to justify that opinion.
why would anyone want to subject themselves to framework lock-in when you can have components that are portable across frameworks? what are the arguments against?
genuine question -- i've used Vue and i've used Lit, and didn't see obvious limitations in the latter, but i've also never used either for any large project.
> why would anyone want to subject themselves to framework lock-in when you can have components that are portable across frameworks? what are the arguments against?
#2: maybe i'm misunderstanding, but i think frameworks can implement SSR on top of vanilla components, for instance in Lit: https://lit.dev/docs/ssr/overview/
If you need framework-specific solutions to do SSR for web components... they are no better than existing solutions without them.
Lit solution also lists a lot of caveats including things like "only Lit elements using Shadow DOM can be SSR'ed" and "element registry needs to be solve for interop with other custom elements" (that is, there's an issue on the standards level)
the article says:
> In my opinion, most projects still benefit from using a frontend framework over pure web components—or, at the very least, both together. Maybe that will change in the future, but for now, I think the tradeoffs still tilt away from a pure web component approach in most cases.
but doesn't provide any real argument to justify that opinion.
why would anyone want to subject themselves to framework lock-in when you can have components that are portable across frameworks? what are the arguments against?
genuine question -- i've used Vue and i've used Lit, and didn't see obvious limitations in the latter, but i've also never used either for any large project.