Skip to content

Commit

Permalink
docs: fix typo @reactflow/react-node-registry
Browse files Browse the repository at this point in the history
  • Loading branch information
boyongjiong authored Sep 3, 2024
1 parent 5fc8e6d commit 2ee2f5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sites/docs/docs/tutorial/advanced/react.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ tag: 新特性
## 渲染 React 组件为节点内容
我们虽然提供了通过继承 HTMLNode 自定义节点的能力,但从用户反馈来看,这种方式并不够直观且有可能因为销毁时机不对而出现性能问题。

因此我们提供了一个独立的包 `@logiclfow/react-node-registry`,以一种更直观的方式来自定义节点,即通过 React 组件来注册节点。
因此我们提供了一个独立的包 `@logicflow/react-node-registry`,以一种更直观的方式来自定义节点,即通过 React 组件来注册节点。
它既可以直接使用系统中已引入的丰富的组件库,也可以使用 React 快捷的开发方式来自定义节点内容。

```tsx | pure
Expand Down

0 comments on commit 2ee2f5e

Please sign in to comment.