I found a small problem in using composition (API) shallowRef and customRef
Vue version
3.2.39
Link to minimal reproduction
Steps to reproduce
type obj={
name:string
}
const message:Ref
const clicks = ()=>{ message.value.name= " i'm not hello" radish.value = "rabbit" } // template <button @click="clicks ">change
What is expected?
I want the message not to be converted to reactive I want radish to be responsive
What is actually happening?
Both radish and message become reactive
System Info
No response
Any additional comments?
No response
I can't follow. Changing the the value of a shallowRef is a reactive operation.
Not sure what you are expecting, your description is not very detailed. Could you provide a bit more details?