DEV Community

Discussion on: It is ⌚time to ditch ReactJS or Angular and use better web standards like web components😍 part 1

Collapse
 
_ezell_ profile image
Ezell Frazier

Web Components actually work well to compliment frameworks. They aren't mutually exclusive technologies.

I use frameworks to manage the state of a view or an application. Web Components allows me to re-use elements across multiple frameworks, or none if the site or app is basic enough.

Collapse
 
joshuaamaju profile image
Joshua Amaju

Good luck trying to use webcomponents with react.

Collapse
 
_ezell_ profile image
Ezell Frazier • Edited

Done it. It works. With TypeScript, no less.

Maybe I'll put together an article to show how it's done. 🤔

Thread Thread
 
joshuaamaju profile image
Joshua Amaju

Was it easy?

Thread Thread
 
_ezell_ profile image
Ezell Frazier

Yep.

Thread Thread
 
lampewebdev profile image
Michael "lampe" Lazarski

I would love to see that blog post :)

Thread Thread
 
edelgado profile image
Enrique Delgado

Look into direflow.io. They make it super easy to bundle a React component as a native custom tag Web Component.