DEV Community

Discussion on: What's NOT new in React 18

Collapse
 
markerikson profile image
Mark Erikson

FYI, the React team just announced that after much debate about the exact semantics, a PR is in progress to update React 18 to properly support Web Components:

github.com/facebook/react/pull/22184

FWIW, if you read through the "React and Custom Elements" issue at github.com/facebook/react/pull/22184 , it's very clear that there were a lot of nuances of behavior that were blocking this from being worked on, because even Web Component advocates couldn't agree on what the proper handling should be.

Collapse
 
bennypowers profile image
Benny Powers 🇮🇱🇨🇦

And yet somehow every other framework including preact pulled it off without much fuss 🤷‍♂️

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