Skip to content
Discussion options

You must be logged in to vote

The tracking of object properties is based on property access, and its implementation is to proxy the get method through proxy. In the above example, todoId is accessed, then todoId will be collected as a dependency, and data.value is an assignment action, it does need to wait for await to be executed before it is assigned . The action of assignment only triggers the execution of dependent functions. So in this example todoId will be collected, and data.value will be assigned and trigger the corresponding dependent function

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 3zzy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants