DEV Community

Discussion on: Why the React community is missing the point about Web Components

Collapse
 
theodesp profile image
Theofanis Despoudis

One could say that there is an opportunity to create a new library that comes in par with React that has Web components as first class citizens.

Collapse
 
frrwhat profile image
Mark Schmeets

Stencil ?

Collapse
 
devinus profile image
Devin Alexander Torres

Nope.

Collapse
 
maxlynch profile image
Max Lynch

I do think Stencil comes closest. I personally do a lot of React and Stencil development and Stencil is very close to react from a developer experience, and can be made even closer by using function components and the like. Of course, I'm biased, but given that was a design goal of ours I am happy at where we've ended up there.

Personally, I want to see Stencil get support for hooks and even stronger function component story, but there are trade-offs given that you need a Web Component initial component as a host (not required for most of your components, however)