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

[Bug Report] (designable=true)在ArrayField中动态添加VoidField时,发生渲染死循环 #3034

Closed
1 task done
frehaiku opened this issue Apr 9, 2022 · 1 comment · Fixed by #3070
Closed
1 task done

Comments

@frehaiku
Copy link
Collaborator

frehaiku commented Apr 9, 2022

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

Edit on CodeSandbox

Steps to reproduce

点击按钮,控制台中会不断打印出“Render dead cycle。。”

What is expected?

能正常添加VoidField

What is actually happening?

无法添加VoidField,死循环造成浏览器奔溃

Package

@formily/vue@2.0.18


@janryWang janryWang reopened this Apr 10, 2022
@frehaiku
Copy link
Collaborator Author

同样的例子,React 正常,看起来是桥接库的问题:
https://codesandbox.io/s/wonderful-khorana-kl70bh?file=/App.tsx

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

Successfully merging a pull request may close this issue.

2 participants