Skip to content
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

An error occurs when g6-extension-react@0.1.6 uses the createRoot API of a higher version of React #6336

Closed
xigua1994 opened this issue Sep 14, 2024 · 0 comments

Comments

@xigua1994
Copy link

Describe the bug / 问题描述

image
g6-extension-react@0.1.6的版本使用 react18 才有的createRoot,业务代码使用react 17.0.0 导致业务无法使用。

Reproduction link / 重现链接

No response

Steps to Reproduce the Bug or Issue / 重现步骤

No response

G6 Version / G6 版本

🆕 5.x

Operating System / 操作系统

macOS

Browser / 浏览器

Chrome

Additional context / 补充说明

No response

@github-actions github-actions bot changed the title 因g6-extension-react@0.1.6使用高版本react的api createRoot 导致业务报错 An error occurs when g6-extension-react@0.1.6 uses the createRoot API of a higher version of React Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants