ref() is for single values, and to get at the actual VALUE, you need to use "myRef.value"
const state = reactive({ msg: "hello", count: 1 })
state.msg // "hello"
const msg = ref("hello")
msg.value // "hello"
Though when you use ref()'s in templates, it will bind to .value for you.Do experienced Vue devs actually use both regularly?
You can also just call "toRefs()" on a "reactive()" object though.
Refs are also useful if you want to destructure a reactive object without breaking the reactivity, scroll down just below this: