Brad Frost

React v19 – React

React v19 was just released with support for Web Components!

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 with the following strategy:

Thanks to Joey Arhar for driving the design and implementation of Custom Element support in React.

This is a very welcome step in the right direction. We've long had to create and manage React wrappers for our clients' Web Component-based design systems. Great stuff!