-
Notifications
You must be signed in to change notification settings - Fork 47.7k
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
[React 19] react-is isFragment doesn't worked #31688
Comments
Thank you for reporting. This seems to work in a minimal example: https://codesandbox.io/p/sandbox/magical-rosalind-qkf43m?workspaceId=ws_NXrhLjqHgWvFjhiKcfVFu6 Your version of |
@eps1lon |
@JulCyan But you are using |
@Mathias-S See my two examples, on |
I guess the best way is not to use |
@zombieJ Thank you for your advice. I got the answer I wanted. |
Project use react version is 17.0.2 and not fixed version for react-is
To fix bug: now I fixed the react-is version to 17.0.2 in package.json , or else it will autoupgrade to the latest version 19.0.0
react-is version 19.0.0
Steps To Reproduce
The current behavior
// isFragment false
The expected behavior
// isFragment true
The text was updated successfully, but these errors were encountered: