Skip to content

Does it matter which WidgetRef I use? #639

Answered by rrousselGit
wujek-srujek asked this question in Q&A
Discussion options

You must be logged in to vote

Yes, it matters for "watch".
Consider always using the deepest "ref"

If you use an ancestor's "ref" with watch, then it is that ancestor which will rebuild when the provider changes

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by wujek-srujek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants