We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/p/sandbox/sad-babbage-h7rks3?file=%2Findex.tsx
在下面的代码中,改变了obj.b的值后,第一个autorun没有执行,在mobx中一样的代码是没有问题的
const obj = observable({ a: 1, b: 1, }); autorun(() => { console.log("111 a: ", obj.a); console.log("111 b: ", obj.b); }); autorun(() => { if (obj.a === 2) { console.log("111 change b"); obj.b = 2; } }); console.log("111 change a"); obj.a = 2;
autorun重新执行
@formily/[email protected]
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Reproduction link
https://codesandbox.io/p/sandbox/sad-babbage-h7rks3?file=%2Findex.tsx
Steps to reproduce
在下面的代码中,改变了obj.b的值后,第一个autorun没有执行,在mobx中一样的代码是没有问题的
What is expected?
autorun重新执行
Package
@formily/[email protected]
The text was updated successfully, but these errors were encountered: