-
Notifications
You must be signed in to change notification settings - Fork 13.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: Issues with React 19 types #29991
Comments
@aeharding Thanks for letting us know! Since React 19 and the associated types aren't released yet, this will be something we have to wait on for the time being. I'll make sure this is labeled so we can keep track of it and ensure everything is working when React 19 comes around. |
React 19 released today! 🚀 https://react.dev/blog/2024/12/05/react-19 |
is this fixed now ? wondering whether i should upgrade to React 19 yet or if it will break my ionic codebase ? |
@jack-hanlon No, it's not fixed. When it is fixed, there will be a commit referenced on this issue and the issue will be closed. |
Is there a timeline when this will be fixed? |
Not I've heard Please 👍 up the issue if you would like it addressed |
Are the types and perhaps any dependency pinning the only problems with using ionic with react 19? |
@jadejr Things seem to work, but you should test your own project and see what happens. If you're using vite, just remove |
Prerequisites
Ionic Framework Version
v8.x
Current Behavior
I've been playing with React 19. I've noticed that Ionic has issues with some of the React 19 types. (This PR is proposed by core React team.)
DefinitelyTyped/DefinitelyTyped#69022
Some components do work, like
IonButton
. But lots don't, likeIonBackButton
andIonApp
:Expected Behavior
All components work with React 19.
Given that React 19 will be released imminently, I think it would be smart to get ahead of this :)
Steps to Reproduce
Code Reproduction URL
https://stackblitz.com/edit/i9zdvi-adpda9
Ionic Info
Running stackblitz
Additional Information
Good news: Ionic works great with 19 so far in my testing, just issues with types :)
The text was updated successfully, but these errors were encountered: