-
Notifications
You must be signed in to change notification settings - Fork 1.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
调用自定义节点的 updateData
方法没有更新节点
#1176
Comments
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. |
updateData
方法没有更新节点updateData
方法没有更新节点
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! 💪💯 |
Hey again! It’s been 60 days since anything happened on this issue, so our friendly neighborhood robot (that’s me!) is going to close it. Please keep in mind that I’m only a robot 🤖, so if I’ve closed this issue in error, I’m 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 again for being part of the AntV community! 💪💯 |
我也遇到了,这个没人关注吗? @NewByVector |
me too 。。。。。 |
@EmiyaYang @zzjjbbaa 有复现的 demo 链接吗,可以新建一个 issue。 |
|
这个问题竟然还没人修复,真奇葩 |
一年半了,这个bug依然存在 |
更新 data 并不会调用 propHooks,因为 propHooks 是为了首次渲染而设计的。这里更合理的方式是监听 |
怎么还有这个问题 |
change:data 也没用 |
Expected Behavior
使用自定义节点且调用
updateData
方法应该更新节点Current Behavior
使用自定义节点且调用
updateData
方法没有更新节点Steps To Reproduce
https://codesandbox.io/s/jovial-hypatia-1lc2i?file=/src/app.tsx:319-328
Additional Context
定义如下节点:
通过如下方式更新节点数据:
Your Environment
codesandbox.io
The text was updated successfully, but these errors were encountered: