DEV Community

Discussion on: What's NOT new in React 18

Collapse
 
jantimon profile image
Jan Nicklas

You are right it would be better if react would be able to deal with webcomponents out of the box

But there are different solution which build a bridge and allow to use webcomponents directly in react app e.g.: github.com/BBKolton/reactify-wc

const VaadinButton = reactifyWc("vaadin-button");
Enter fullscreen mode Exit fullscreen mode

Facebook would also need to reactify webcomponents so the only difference is that this code would then be written by Facebook itself.. I am not sure why using another OOS package is such a big issue..

Some comments have been hidden by the post's author - find out more