diff --git a/src/content/reference/react/Component.md b/src/content/reference/react/Component.md index 70247af2..22025b89 100644 --- a/src/content/reference/react/Component.md +++ b/src/content/reference/react/Component.md @@ -1711,7 +1711,7 @@ function ChatRoom({ roomId }) { } ``` -This [`useEffect`](/api/useEffect) call is equivalent to the logic in the lifecycle methods above. If your lifecycle methods do multiple unrelated things, [split them into multiple independent Effects.](/learn/removing-effect-dependencies#is-your-effect-doing-several-unrelated-things) Here is a complete example you can play with: +This [`useEffect`](/reference/react/useEffect) call is equivalent to the logic in the lifecycle methods above. If your lifecycle methods do multiple unrelated things, [split them into multiple independent Effects.](/learn/removing-effect-dependencies#is-your-effect-doing-several-unrelated-things) Here is a complete example you can play with: