diff --git a/src/content/docs/useform/watch.mdx b/src/content/docs/useform/watch.mdx index 28a60532..6b55f34e 100644 --- a/src/content/docs/useform/watch.mdx +++ b/src/content/docs/useform/watch.mdx @@ -106,13 +106,11 @@ useEffect(() => { - This API will trigger re-render at the root of your app or form, consider using a callback or the [useWatch](/docs/usewatch) api if you are experiencing performance issues. - `watch` result is optimised for render phase instead of `useEffect`'s deps, to detect value update you may want to use an external custom hook for value comparison. - - -**Examples:** +### Examples: --- -**Watch in a Form** +#### Watch in a Form @@ -207,7 +205,7 @@ function App() { -**Watch in Field Array** +#### Watch in Field Array