From 0db15bd16c347d22f5ca67abde60e5df5b2401dd Mon Sep 17 00:00:00 2001 From: Rishav Kumar <85122792+i-m-afk@users.noreply.github.com> Date: Fri, 15 Nov 2024 17:43:01 +0530 Subject: [PATCH 1/2] Update use-handle-connections.mdx link to the hook was not correct --- .../src/pages/api-reference/hooks/use-handle-connections.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/reactflow.dev/src/pages/api-reference/hooks/use-handle-connections.mdx b/sites/reactflow.dev/src/pages/api-reference/hooks/use-handle-connections.mdx index f8a82a87b..a62e06923 100644 --- a/sites/reactflow.dev/src/pages/api-reference/hooks/use-handle-connections.mdx +++ b/sites/reactflow.dev/src/pages/api-reference/hooks/use-handle-connections.mdx @@ -11,7 +11,7 @@ import { signature } from '@/references/hooks/useHandleConnections.ts'; # useHandleConnections -[Source on GitHub](https://github.com/xyflow/xyflow/packages/core/src/hooks/useHandleConnections.ts) +[Source on GitHub](https://github.com/xyflow/xyflow/blob/main/packages/react/src/hooks/useHandleConnections.ts) This hook returns an array connections on a specific handle or handle type. From a43f9ac55ae48990d01137363d3d073a89c7bc02 Mon Sep 17 00:00:00 2001 From: Abbey Yacoe Date: Tue, 19 Nov 2024 14:26:29 +0100 Subject: [PATCH 2/2] fix(useNodesData): fix broken link --- .../src/pages/api-reference/hooks/use-nodes-data.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sites/reactflow.dev/src/pages/api-reference/hooks/use-nodes-data.mdx b/sites/reactflow.dev/src/pages/api-reference/hooks/use-nodes-data.mdx index 1df018b7f..d02046cad 100644 --- a/sites/reactflow.dev/src/pages/api-reference/hooks/use-nodes-data.mdx +++ b/sites/reactflow.dev/src/pages/api-reference/hooks/use-nodes-data.mdx @@ -9,7 +9,7 @@ import { signature } from '@/references/hooks/useNodesData.ts'; # useNodesData() -[Source on GitHub](https://github.com/xyflow/xyflow/packages/core/src/hooks/useHandleConnections.ts) +[Source on GitHub](https://github.com/xyflow/xyflow/blob/main/packages/react/src/hooks/useNodesData.ts) This hook lets you subscribe to changes of a specific nodes `data` object.