Skip to Content

2025-01-15

React 流 12.4.0

新年,新的小版本发布 :) 这个版本主要包含修复,但也引入了一个新的 useNodeConnections,它是 useHandleConnections 的继任者。

🌐 New year, new minor release :) This release contains mostly fixes but also introduces a new useNodeConnections that is the successor of useHandleConnections.

小幅更改

🌐 Minor Changes

  • #4725  添加 useNodeConnections 钩子以跟踪与节点的所有连接。可以通过 handleType 和 handleId 进行筛选。

补丁更改

🌐 Patch Changes

  • #4947  正确地将 ResizeControlVariant 导出为一个值。
  • #4880  谢谢 @crimx ! - 为所有事件目标添加类型检查
  • #4929  优化选择,并考虑连接到所选节点的边是否实际上可选。

Get Pro examples, prioritized bug reports, 1:1 support from the maintainers, and more with React Flow Pro

Last updated on