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

Good luck trying to use webcomponents with react.

Collapse
_ezell_ profile image
Ezell Frazier • Edited on

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

Was it easy?

Thread Thread
_ezell_ profile image
Ezell Frazier

Yep.

Thread Thread
lampewebdev profile image
Michael "lampe" Lazarski Author

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.