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

70页 手动调用track导致无限递归循环问题 #42

Open
sfksskfjkds opened this issue Aug 8, 2022 · 0 comments
Open

70页 手动调用track导致无限递归循环问题 #42

sfksskfjkds opened this issue Aug 8, 2022 · 0 comments

Comments

@sfksskfjkds
Copy link

当在effect外部读取计算属性的value属性时,此时activeEffect为undefined,这将导致无限递归循环,需要判断一下activeEffect,存在再调用track

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

1 participant