If you were starting a new project and wanted to build all #webComponents - what would be your goto tool for this?

Lit? StencilJS? Something else?

Asking for my team

#webDev #javascript #dev

@tanepiper Depends on the project but should give a shout out to @zachleat’s WebC here:

https://www.11ty.dev/docs/languages/webc/

Eleventy is a simpler static site generator

Eleventy is a simpler static site generator.

Eleventy

@charlesroper @zachleat Yes one of the team has been looking at 11ty and WebC and it's on the recommendations - but as far as I can see WebC doesn't go to shippable components, just internal ones?

And it's got it's own templating, directive, etc - which I couldn't see how to do complex stuff or even loops - we're trying to remain as agnostic as possible here.

@tanepiper @zachleat If you’re considering all angles, definitely have a read of this fun series of posts: https://dev.to/tigt/making-the-worlds-fastest-website-and-other-mistakes-56na
Making the world’s fastest website, and other mistakes

Crazed developer attempts real ecommerce without front-end JavaScript to prove that y’all playin’

DEV Community

@charlesroper @zachleat Thanks will do.

FWIW we have a design system with components, but as we move to SSG they are less and less useful.

For our team, this is about reducing the need to rebuild components time and again (e.g. same component can be used in SSG, SSR, SPA or in 3rd party tool like Contentful.

@tanepiper @charlesroper @zachleat

In that case I'd consider Lit, since SSR is important to the team building it and intra-framework compatibility is important to many contributors.