Skip to content

Conversation

pikax
Copy link
Member

@pikax pikax commented Sep 12, 2020

const r = { x: ref(1) }
toRef(r,'x') // { value: { value: 1 } } 

// it should be 

toRef(r, 'x') // { value: 1}

@yyx990803 yyx990803 merged commit d4bf9bc into vuejs:master Sep 15, 2020
@pikax pikax deleted the fix/toRef_shouldnt_wrap_ref branch September 15, 2020 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants