Closed roottool closed 1 year ago
On the "Advanced Usage" page, two linked URLs are wrong.
Linked URL is /docs#useFormContext such as a current link of FormProvider. https://github.com/react-hook-form/documentation/blob/e7cdd0fb68f61667beaca25a4aab5fea88a59178/src/content/advanced-usage.mdx#L306
/docs#useFormContext
The current URL(/docs/useFormContext) is incorrect. https://github.com/react-hook-form/documentation/blob/e7cdd0fb68f61667beaca25a4aab5fea88a59178/src/content/advanced-usage.mdx#L272
/docs/useFormContext
We receive a 404 response from this URL.
Move to FormProvider in API doc.
Move to useFormContext in API doc. https://github.com/react-hook-form/documentation/blob/e7cdd0fb68f61667beaca25a4aab5fea88a59178/src/content/advanced-usage.mdx#L306
Would you like to send a PR on this?
Yes. I will try it this weekend.
Thank you for reviewing! This issue fixed by #1005. Could you close this issue?
Thank you 🙏
Overview
On the "Advanced Usage" page, two linked URLs are wrong.
"FormContext" in Connect Form
Expected behavior
Linked URL is
/docs#useFormContext
such as a current link of FormProvider. https://github.com/react-hook-form/documentation/blob/e7cdd0fb68f61667beaca25a4aab5fea88a59178/src/content/advanced-usage.mdx#L306Actual behavior
The current URL(
/docs/useFormContext
) is incorrect. https://github.com/react-hook-form/documentation/blob/e7cdd0fb68f61667beaca25a4aab5fea88a59178/src/content/advanced-usage.mdx#L272We receive a 404 response from this URL.
"FormProvider" in FormProvider Performance
Expected behavior
Move to FormProvider in API doc.
Actual behavior
Move to useFormContext in API doc. https://github.com/react-hook-form/documentation/blob/e7cdd0fb68f61667beaca25a4aab5fea88a59178/src/content/advanced-usage.mdx#L306