useController vs <Controller /> #6157
-
Can someone explain me what's better to use: useController or ? |
Beta Was this translation helpful? Give feedback.
Answered by
bluebill1049
Aug 3, 2021
Replies: 1 comment 5 replies
-
is when you want to quickly implement a component and used a wrapper
|
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
krau5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
is when you want to quickly implement a component and used a wrapper
useController
is when you want to build a reusable component. (I use this at work, it's cleaner without the Controller as wrapper)