We're a place where coders share, stay up-to-date and grow their careers.
ref.value is mutable, and if the inner value of your ref is an object it is deeply reactive. E.g.: myObjectRef.value.bar.foo = "5" will trigger any watcher on myObjectRef
ref.value
myObjectRef.value.bar.foo = "5"
myObjectRef
If it is a computed ref, then I believe it will be recursively read-only.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
ref.value
is mutable, and if the inner value of your ref is an object it is deeply reactive. E.g.:myObjectRef.value.bar.foo = "5"
will trigger any watcher onmyObjectRef
If it is a computed ref, then I believe it will be recursively read-only.