-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
bug: ts error: 'IonApp' cannot be used as a JSX component. #30237
Comments
That's because of react 19. Not throwing errors on react 18 |
I downgrade react and react-dom version to "^18.2.0" but still get the same errors |
@iberis2 Have you downgraded react types? |
yes I also downgrade types. |
We've fixed some type errors with React 19 in 8.5.0. Could you try that version and let us know if you're still experiencing any issues? Thanks! |
Thanks for the issue! This issue is being closed due to the lack of a reply. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. Thank you for using Ionic! |
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
Expected Behavior
Ts not throwing error
Steps to Reproduce
insert
<IonApp>
component into your react appCode Reproduction URL
i cant
Ionic Info
Do not have framework. Im using react components only
Additional Information
No response
The text was updated successfully, but these errors were encountered: