diff --git a/src/components/UseFieldArrayContent.tsx b/src/components/UseFieldArrayContent.tsx index 9c9f5a7b1..71d4d9d82 100644 --- a/src/components/UseFieldArrayContent.tsx +++ b/src/components/UseFieldArrayContent.tsx @@ -52,11 +52,11 @@ export default function UseFieldArrayContent({ api }: { api: any }) { identifier named id which is used for key{" "} prop. For more information why this is required:{" "} - https://reactjs.org/docs/lists-and-keys.html#keys + https://react.dev/learn/rendering-lists

@@ -141,7 +141,7 @@ append({ firstName: 'bill', lastName: 'luo' }); ✅`}

  • - we do not support circular reference. Refer to this {" "} + we do not support circular reference. Refer to this{" "} { ## FormProvider Performance {#FormProviderPerformance} -React Hook Form's [FormProvider](/docs/formprovider) is built upon [React's Context](https://reactjs.org/docs/context.html) API. It solves the problem where data is passed through the component tree without having to pass props down manually at every level. This also causes the component tree to trigger a re-render when React Hook Form triggers a state update, but we can still optimise our App if required via the example below. +React Hook Form's [FormProvider](/docs/formprovider) is built upon [React's Context](https://react.dev/learn/passing-data-deeply-with-context) API. It solves the problem where data is passed through the component tree without having to pass props down manually at every level. This also causes the component tree to trigger a re-render when React Hook Form triggers a state update, but we can still optimise our App if required via the example below. **Note:** Using React Hook Form's [Devtools](/dev-tools) alongside [FormProvider](/docs/formprovider) can cause performance issues in some situations. Before diving deep in performance optimizations, consider this bottleneck first. diff --git a/src/content/faqs.mdx b/src/content/faqs.mdx index 522614cea..4e2df5a45 100644 --- a/src/content/faqs.mdx +++ b/src/content/faqs.mdx @@ -12,7 +12,8 @@ Performance is one of the primary reasons why this library was created. React Ho ## How to create an accessible input error and message? {#Howtocreateanaccessibleinputerrorandmessage} -React Hook Form is based on [Uncontrolled Components](https://reactjs.org/docs/uncontrolled-components.html), which gives you the ability to easily build an accessible custom form. +React Hook Form is based on Uncontrolled Components, which gives you the ability to easily build an accessible custom form. +_(For more information about Uncontrolled Components, read [Sharing State Between Components](https://react.dev/learn/sharing-state-between-components))_ ```javascript copy import React from "react"