React 19 Beta – React
May 6, 2024
React 19 adds full support for custom elements and passes all tests on Custom Elements Everywhere.
In past versions, using Custom Elements in React has been difficult because React treated unrecognized props as attributes rather than properties. In React 19, we’ve added support for properties that works on the client and during SSR…
Source: React 19 Beta – React
One of Web Component’s significant drawbacks has been that working with them with React has been at best a lot of additional work. With React 19 that changes.
Web Components don’t aim to address all the problems frameworks like React aim to address, but are a standardised way of addressing the core challenge of developing encapsulated components, ideally useable regardless of the technology stack you employ.