-
Notifications
You must be signed in to change notification settings - Fork 8k
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
[CAL-4694] embed issue with react 18.2 #17563
Comments
/bounty 20 |
💎 $20 bounty • Cal.com, Inc.Steps to solve:
Thank you for contributing to calcom/cal.com! |
/attempt #17563
|
***EDIT: Found it, Seems to exist specifically with next. @PeerRich Could you provide some more reproduction steps? I've created an inline HTML at
As well as copied your file and adjusted to render to the html: test.tsx:
And it seems to run just fine on my end. |
/attempt #17563 Options |
Hey @PeerRich based on your description about the issue and the shared code, I've managed to come up with this solution 👇.
|
Hey, @PeerRich , please let me know if the issue was not solved. I'll try to reimplement the solution. Thanks! |
After going through the imports, it seems that Next 15 doesn't seem to be properly downgrading to React 18, even when specified in the package manager. This can be checked by logging the React package, which should contain its version. The issue shown is a bug where mismatching react versions are being referenced: There isn't much discussion, or a straightforward way to properly downgrade to React 18 on Next 15.
Which kinda sucks since either option is much more of a headache than whats bargained for. |
/attempt #17563 Options |
/attempt #17563 Options |
1 similar comment
/attempt #17563 Options |
Found this test in nextjs, which tests that it uses their own provided canary/experimental build for React: https://github.com/vercel/next.js/blob/676a3bad83a948e76454ac37faa4db2420d57b57/test/e2e/app-dir/rsc-basic/rsc-basic.test.ts#L529. Seems that for now, any stable version of React 18 + Next 15 will not be compatible. |
looks like there is some problem with the react code for pop via element click. (using next15 and react 18.2)
Code is in the comments below
CAL-4694
The text was updated successfully, but these errors were encountered: