ionic-team/ionic-framework

feat: React 19 support for custom elements

Opened this issue · 0 comments

Prerequisites

Describe the Feature Request

React 19, which was released in December 2024, has support for custom elements. This should make it possible to remove the React component wrappers and use Ionic web components directly in React.

Describe the Use Case

Before React 19, support for web components required that they be wrapped as React components. React 19 supports web components natively, so this extra layer can be removed.

Describe Preferred Solution

Provide a way to use Ionic web components with React 19's native support and document that. Also, it would be great to make some codemods to do the upgrade automatically.

Describe Alternatives

No response

Related Code

No response

Additional Information

No response