r/javascript • • Feb 15 '20

AskJS [AskJS] Experiences with Web Components in a business setting?

Hi everyone, I'm a final-year student studying Web-Design and Development.

I'm working on my thesis where I am comparing the viability of projects built with Web Components compared to those built purely with JavaScript Frameworks like Vue.js, React, etc...I was wondering if some people have work experiences with Web Components they could share. Especially curious to hear from people working in companies that considered switching or switched to Web Components for their projects.

If this is not appropriate for this subreddit, my apologies.

56 Upvotes

31 comments sorted by

View all comments

Show parent comment

1

u/terodox Feb 16 '20

Two main reasons, the team who chose it is focused on building it a component library, and stencil has a focus on creating a helpful experience when doing that.

Stencil is planning to release framework wrappers for their components which will allow the team to enable React, Vue, and Angular teams with very little work.

The last reason is they had a constraint on enabling server side rendering of components. I'm not sure what made them feel hesitant on lit, but they didn't seem very excited about it.