eupolicy.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
This Mastodon server is a friendly and respectful discussion space for people working in areas related to EU policy. When you request to create an account, please tell us something about you.

Server stats:

196
active users

#WebComponents

2 posts2 participants0 posts today

🚀 The CEM Language Server is here!

Remember the frustration of working with custom elements in your editor? No auto-complete for
, no hover docs for attributes, go-to-definition that just... doesn't?

Those dark ages are over.
✨

I built a complete toolchain from scratch in Go that changes everything:

🔬 Analyzes your TypeScript/JavaScript to understand your custom elements
📋 Generates Custom Element Manifest files from your source code
🧠 Provides Language Server Protocol support for amazing editor integration

You get:
🎯 Smart completions for element names, attributes, slots
📚 Hover documentation pulled directly from your code
🔍 Go-to-definition that actually works
⚡ Real-time validation and error checking
🛠️ Works with VS Code, Zed, Neovim, Emacs

The beautiful part? It's a complete end-to-end solution. One tool that both understands your code AND provides the editor experience. Zero serialization overhead, perfect consistency.

Built on the shoulders of
@Matsuuu's pioneering work with custom-elements-language-server. This explores a different architectural approach while building on his insights about what features matter most.

Finally - TypeScript-level tooling for our
! 🎉

📖 bennypowers.dev/cem/docs/lsp/
💬 github.com/bennypowers/cem/discussions

#WebComponents #LSP #DeveloperTools #Lit #CustomElements #OpenSource #Go #TypeScript

cemLanguage ServerThe CEM Language Server provides intelligent IDE features for custom elements in HTML and TypeScript files. It analyzes your custom elements manifest files to offer contextual autocomplete, hover documentation, and other editor enhancements. CEM discovers all the custom elements manifests available to your project (in your package.json), and watches for changes to your element sources to keep an in-memory version of your local element manifest up to date. Features Autocomplete Get up-to-date HTML element API completions in HTML files and Lit template literals.

Received some feedback from a team using the Custom Element library for an Enterprise Design System I've been working on. Some cross-component lifecycle adjustments were necessary to enhance React compatibility. The nice part was that they also mentioned their (React 19) application was much faster with custom elements, both perceptually and measurably (using Lighthouse).

Move over Bootstrap.

Web Awesome is an awesome successor to what in my opinion was already the best open source #WebComponents library (Shoelace) on the market. Now we have the best #CSS framework on the market.

All of the CSS is…um…just CSS and all of the components are…um…just web components. Native #WebDev APIs across the board. 🙌

Take a first look at the brand new public beta:

thathtml.blog/2025/07/web-awes

That HTML Blog · Web Awesome, the First All-in-One Web Components + CSS Framework, is Finally Here
Replied in thread

@leaverou These all power HTML in some way or other...

- Scoped Custom Element Registries
- Reference Target API
- elementInternals.type github.com/MicrosoftEdge/MSEdg
- Declarative CSS Modules and the adoptedstylesheets attribute github.com/MicrosoftEdge/MSEdg
- Declarative Partial Updates github.com/WICG/declarative-pa
- DOM Parts
- Platform based windowing/virtualization
- <tabs>

I've got lots more for CSS/JS if you get signed up for those.

Good luck with the survey!

GitHubMSEdgeExplainers/ElementInternalsType/explainer.md at main · MicrosoftEdge/MSEdgeExplainersHome for explainer documents originated by the Microsoft Edge team - MicrosoftEdge/MSEdgeExplainers

🆕 Frontend Coffee Break

Episode 45: Storybook, Web Components and Figma Tokens

This is an angular-free podcast but we do talk web components. Chucho and Ricard discuss Storybook, what to consider when thinking about using it. Are Figma tokens the future? Sources of truth are nice but are they worth it?

What's your experience with these tools?

Audio and video options:

➡️ frontend.coffee/s1/45

Frontend Coffee Break - PodcastFrontend Coffee Break - Podcast | Ep. #45: Storybook, Web Components and Figma TokensThis is an angular-free podcast but we do talk web components. Chucho and Ricard discuss Storybook, what to consider when thinking about using it. Are Figma tokens the future? Sources of truth are ...