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

渲染react组件时因为xflow引用的@antv/x6-react-shape版本是2.0.8,该版本是react 18以下使用的。 #476

Open
vok123 opened this issue Jul 22, 2024 · 6 comments
Labels
stale Issue that may be closed soon due to the original author not responding any more.

Comments

@vok123
Copy link

vok123 commented Jul 22, 2024

问题描述

渲染react组件时因为xflow引用的@antv/x6-react-shape版本是2.0.8,该版本是react 18以下使用的。建议升级一下或者怎么处理一下, 不然react 18+ 是没办渲染自定义组件的, 感谢付出。
@antv/x6-react-shape文档解释地址:https://x6.antv.antgroup.com/tutorial/intermediate/react

重现链接

暂无

重现步骤

  1. react 版本使用18+, xflow使用2.1.10;
  2. 使用了useDnd, 将自定义的react组件拖进graph中;
  3. 无法将组件渲染出来

预期行为

能将将组件渲染出来

平台

  • 操作系统: [Windows]
  • 网页浏览器: [Google Chrome]
  • XFlow 版本: [2.1.10]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response

@xflow-bot
Copy link
Contributor

xflow-bot bot commented Jul 22, 2024

👋 @vok123

Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.

To help make it easier for us to investigate your issue, please follow the contributing guidelines.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

@xflow-bot
Copy link
Contributor

xflow-bot bot commented Aug 12, 2024

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

@xflow-bot xflow-bot bot added the stale Issue that may be closed soon due to the original author not responding any more. label Aug 12, 2024
@NewByVector
Copy link
Contributor

@antv/x6-react-shape 2.0.8 是兼容 react18+的,有例子可以看下吗?

@xflow-bot xflow-bot bot removed the stale Issue that may be closed soon due to the original author not responding any more. label Sep 5, 2024
@xflow-bot
Copy link
Contributor

xflow-bot bot commented Sep 25, 2024

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

@xflow-bot xflow-bot bot added the stale Issue that may be closed soon due to the original author not responding any more. label Sep 25, 2024
@l704863851
Copy link

@antv/x6-react-shape 2.0.8 是兼容 react18+的,有例子可以看下吗?

同样的问题,这是例子 https://codesandbox.io/p/sandbox/yxwz9r 可在控制台看到报错信息

image

@xflow-bot xflow-bot bot removed the stale Issue that may be closed soon due to the original author not responding any more. label Oct 29, 2024
@xflow-bot
Copy link
Contributor

xflow-bot bot commented Nov 18, 2024

Hiya!

This issue has gone quiet. Spooky quiet. 👻

We get a lot of issues, so we currently close issues after 60 days of inactivity. It’s been at least 20 days since the last update here. If we missed this issue or if you want to keep it open, please reply here. You can also add the label "not-stale" to keep this issue open!

As a friendly reminder: the best way to see this issue, or any other, fixed is to open a Pull Request. Check out contribute for more information about opening PRs, triaging issues, and contributing!

Thanks for being a part of the AntV community! 💪💯

@xflow-bot xflow-bot bot added the stale Issue that may be closed soon due to the original author not responding any more. label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
stale Issue that may be closed soon due to the original author not responding any more.
Projects
None yet
Development

No branches or pull requests

3 participants