Home > ISYS_ReactComponentizationDialogReconcilerInstance
ISYS_ReactComponentizationDialogReconcilerInstance interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
React Reconciler 实例接口 用于接收扩展的 react-reconciler 实例
签名
typescript
interface ISYS_ReactComponentizationDialogReconcilerInstance1
备注
此接口定义了从扩展传递的 react-reconciler 实例。 react-reconciler 是 React 的自定义渲染器,用于实现虚拟 DOM 渲染。
示例
typescript
const ReconcilerInstance = {
default: Reconciler,
constants: {
ContinuousEventPriority,
DiscreteEventPriority,
DefaultEventPriority,
ConcurrentRoot,
},
};1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9
属性
属性名 | 修饰符 | 类型 | 描述 |
|---|---|---|---|
{ ContinuousEventPriority: number; DiscreteEventPriority: number; DefaultEventPriority: number; ConcurrentRoot: number; } | (ALPHA) Reconciler 常量 | ||
any | (ALPHA) Reconciler 构造函数 |