Skip to content

When referencing components, can I use shadowRef instead of ref? #6894

Closed Answered by edison1105
godxiaoji asked this question in Help/Questions
Discussion options

You must be logged in to vote

Would it be better to use shallowRef instead of ref?

the shallowRef is better than ref for template refs.

Replies: 5 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@godxiaoji
Comment options

@edison1105
Comment options

Answer selected by godxiaoji
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@Rolanddoda
Comment options

@godxiaoji
Comment options

@Rolanddoda
Comment options

Comment options

You must be logged in to vote
3 replies
@Rolanddoda
Comment options

@godxiaoji
Comment options

@godxiaoji
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
4 participants