Documentation enhancement #52
andrecasal
started this conversation in
General
Replies: 1 comment 1 reply
-
Good ideas - I'm definitely happy to accept/review PRs you think would make it clearer. Thanks! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi @brophdawg11! Just wanted to reach out and let you know that I think the documentation could use a little touch-up. From what I understand, the first section mentions the
<FormProvider>
and<Input>
components, which are syntactic sugar foruseValidatedInput()
. I think most developers, like myself, would want more direct control over their form, label, and inputs, so they might skip straight to usinguseValidatedInput()
.Also, it might be helpful to include an example for using custom refs. And, just a small change, instead of having the documentation say that the form should go inside the
FormProvider
, it could say the inputs should go inside instead. Something like this:Just some suggestions to make the documentation even clearer for developers.
I'd be happy to create issues for each of these and send you pull requests. Let me know what you think!
Beta Was this translation helpful? Give feedback.
All reactions