React and Web Components are not directly comparable IMO. What could be compared are 1. reusable components done with React or Web Components. Or 2. apps create with Stencil (based on Web Components) or React.
I have seen Stencil used in my current company. We are currently trying to adapt to it as it is lighter. We don't want to ship our components to include VueJS and its libs to our customers.
Stencil combines the best concepts of the most popular frameworks like Virtual DOM, async rendering, reactive data-binding, typeScript, JSX, and more. Do you have experience working with Stencil?
React and Web Components are not directly comparable IMO. What could be compared are 1. reusable components done with React or Web Components. Or 2. apps create with Stencil (based on Web Components) or React.
Learned something new, thnx! 😊
that is the beauty of this platform. I learn every time I come here and blog with you smart people. 😃
I have seen Stencil used in my current company. We are currently trying to adapt to it as it is lighter. We don't want to ship our components to include VueJS and its libs to our customers.
Stencil combines the best concepts of the most popular frameworks like Virtual DOM, async rendering, reactive data-binding, typeScript, JSX, and more. Do you have experience working with Stencil?
Yes, I am also working on a project where we are using stencil. I am very happy with that decision so far.
Stencil / web components do not work with a virtual DOM as React does, though. Maybe shadow DOM is what you meant 😉
I read on the site that it does, below are some things I read - stenciljs.com/docs/introduction
Stencil combines the best concepts of the most popular frameworks into a simple build-time tool.
Stencil takes features such as
Virtual DOM
Async rendering (inspired by React Fiber)
Reactive data-binding
TypeScript
JSX
Static Site Generation (SSG)
I see, thanks for pointing that out.
welcome 👍