Question about useWatch
#8140
Answered
by
Moshyfawn
Dragomir-Ivanov
asked this question in
Q&A
-
Hi guys,
|
Beta Was this translation helpful? Give feedback.
Answered by
Moshyfawn
Apr 5, 2022
Replies: 1 comment 2 replies
-
It's basically a conditional subscription. The same, as, say this (pseudo-code) if (isChecked) {
fieldValue.subscribe()
} else {
fieldValue.unsubscribe()
} Just a convenience prop to toggle the field values subscription (an optimization measure) If you have some ideas on how to improve the docs to allow better understanding of the feature, we're open to suggestions! |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
bluebill1049
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's basically a conditional subscription. The same, as, say this (pseudo-code)
Just a convenience prop to toggle the field values subscription (an optimization measure)
If you have some ideas on how to improve the docs to allow better understanding of the feature, we're open to suggestions!