feat: React 19 support for custom elements
Opened this issue · 0 comments
ptmkenny commented
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already include this feature request, without success.
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