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
Hey! I'm YCMJason, a Software Engineer in London ๐จโ๐ป. Love diving into tech puzzles and sharing them! ๐งฉ
All views expressed here are my own opinions, so please take them with a pinch of salt! ๐ง
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.