-
Notifications
You must be signed in to change notification settings - Fork 651
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
'ReactCSSTransition' cannot be used as a JSX component. Its instance type 'CSSTransition<HTMLElement | undefined>' is not a valid JSX element. #855
Comments
Had the same problem.
I've tried to upgrade versions of yarn upgrade react@^18.2.0 react-dom@^18.2.0 @types/react@^18.0.21 @types/react-dom@^18.0.6 react-transition-group@^4.4.5 @types/react-transition-group@^4.4.5 But it did not work. So, after that i tried to update all packages with yarn upgrade It helped me. May be it will help you too |
I have the same problem, I had to add resolutions property in my package.json with 17.0.38 version of @types/react |
I experienced the same issue. Messing around with dependency versions didn't help me. Turns out in my case the issue was caused by conflicting type definitions for I forced my app to compile by following the recommendation from vuejs/core#1033 (comment) and applying a local patch to Vue that removes the conflicting type (thankfully I only needed TypeScript to work with React in my project). |
I'm having the same issue after running yarn upgrade. |
+1 |
Good old Otherwise.. delete your lock file and do a fresh install :) |
|
Thanks, that solved my problem |
i updated to react 18 and my transition is breaking
The text was updated successfully, but these errors were encountered: