diff --git a/packages/data/README.md b/packages/data/README.md index 67438a80eebe55..5aa6c4fd13cbb8 100644 --- a/packages/data/README.md +++ b/packages/data/README.md @@ -796,7 +796,7 @@ _Returns_ Custom react hook for retrieving props from registered selectors. -In general, this custom React hook follows the [rules of hooks](https://reactjs.org/docs/hooks-rules.html). +In general, this custom React hook follows the [rules of hooks](https://react.dev/reference/rules/rules-of-hooks). _Usage_ diff --git a/packages/data/src/components/use-select/index.js b/packages/data/src/components/use-select/index.js index d047e7265908c1..a0073d7e847fc2 100644 --- a/packages/data/src/components/use-select/index.js +++ b/packages/data/src/components/use-select/index.js @@ -235,7 +235,7 @@ function useMappingSelect( suspense, mapSelect, deps ) { * Custom react hook for retrieving props from registered selectors. * * In general, this custom React hook follows the - * [rules of hooks](https://reactjs.org/docs/hooks-rules.html). + * [rules of hooks](https://react.dev/reference/rules/rules-of-hooks). * * @template {MapSelect | StoreDescriptor} T * @param {T} mapSelect Function called on every state change. The returned value is