docs(bindings): explain React hooks and renderer ownership

This commit is contained in:
2026-11-12 15:37:19 +08:00
parent ce05ab653d
commit 27311e831d
3 changed files with 41 additions and 17 deletions
+1
View File
@@ -1,6 +1,7 @@
/**
* 显式 React/React Flow 框架入口。按需导出 hooks、组件 renderer 装配和命令 Context,
* 可移植 bindings/index.ts 不引用这些框架依赖;use client 指令保留模块客户端边界。
* 重导出不自动挂 Provider、attach view 或创建 engine;ReactFlowProjection* 只是结构类型,不运行数据转换。
*/
"use client";
/** Explicit framework boundary; consumers install the declared optional peers. */