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
v-memo
v-memo in vapor mode is completely different, compared to vue-core. Since in vapor mode, we use effect (aka watchEffect) to track & update DOM nodes.
effect
watchEffect
So to implement it, I think watch function is enough.
watch
<div v-memo="[msg]">{{ msg }}{{ count }}</div>
Compiles to
watch([msg], () => { setText(...) })
The text was updated successfully, but these errors were encountered:
baiwusanyu-c
Successfully merging a pull request may close this issue.
v-memo
in vapor mode is completely different, compared to vue-core. Since in vapor mode, we useeffect
(akawatchEffect
) to track & update DOM nodes.So to implement it, I think
watch
function is enough.Compiles to
watch
functionThe text was updated successfully, but these errors were encountered: