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 in the past I would use a framework but now I go on vanilla path and choose some reactive library then encapsulate it in shadow root while keep my eyes on FOUC.

@drsensor the FOUC we might be able to solve with ESI and edge computing.

At the moment in our SSG Astro site I have in the head a small snippet that checks session storage for the dark mode setting - but if it can be moved to the edge it solves a those issues.