Where is the document of @vue/reactive #11295
Unanswered
ruojianll
asked this question in
Help/Questions
Replies: 1 comment
-
You can use it like: import { ref, effect } from '@vue/reactivity'
const foo = ref(0)
setInterval(() => { foo.value ++ }, 1000)
effect(() => { // like `watchEffect`
console.log(foo.value)
}) Just use |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to create a lib depends on @vue/reactive, but where is that's document?
Beta Was this translation helpful? Give feedback.
All reactions