Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve watch to reflect overloads #1056

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

honey32
Copy link

@honey32 honey32 commented Mar 29, 2024

relates to #1040

I tried to make description in https://react-hook-form.com/docs/useform/watch to reflect real overload of the function according to its JSDoc

I'm not sure about description, but I'm sure it would be better if organized like this, because it has two different usages, which, without explanation, may lead beginners to confusion.

I'm willing to make some additional edit if needed to make description more precise.

Copy link

vercel bot commented Mar 29, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
react-hook-form-website ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 2, 2024 10:55pm

bluebill1049
bluebill1049 previously approved these changes Apr 2, 2024
Copy link
Member

@bluebill1049 bluebill1049 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Ty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants