HACKER Q&A
📣 regus

What is your opinion on Web Components?


What do you think of Web Components?

Have you ever used them in production?

Have you ever made something with Web Components rather than using a standard framework (React, Vue, etc)?

Do you think they will ever see wide adoption?

https://developer.mozilla.org/en-US/docs/Web/Web_Components


  👤 shams93 Accepted Answer ✓
The problem is really with safari still not supporting the entire api. If you're writing only for chrome or chrome and firefox and can afford to ignore ios browser users then its a non-issue otherwise you have to offer expensive shims to ios users that undermines the whole purpose of using the webcomponents to begin with.

👤 mimixco
Yes, we're building a production app[0] with them. So far, I think they're great. Far preferable to Angular which we used previously.

[0]https://mimix.io/en/blog/msl-notebook


👤 readonthegoapp
I need to look up the difference between generic web components and those that are built with react/vue/etc.

They seem roughly the same.

My take so far as an old school web dev learning this component stuff -- it all sucks

I did enjoy-ish node/express

It seemed relatively straightforward and productive

But I haven't figured out how to make this new front end ts/js/components/frameworks/routers/apis thing productive yet.

I'm assuming that is going to change at some point as I continue spending time, but I admit to being skeptical at the moment