2 situations to consider web components: 1


2 situations to consider web components:

1. Your company wants to build a reusable component library that isn’t tied to a specific tech (like React/Vue/etc)

2. You want to build an entire app without a JS library for performance reasons. (Avoids the overhead of React/Vue/etc.)
There are tradeoffs though.

1. The web components ecosystem is smaller.

2. The DX is behind modern libraries like React/Vue/etc (but tools like Lit help).

3. It’s harder to find web component devs than React/Vue/etc devs.

4. The standard remains unpopular. Will it catch on?

View original on X