Match-id-b1728f3e2e13d0dceaec7d800af945630574e9f8

This commit is contained in:
* 2022-02-17 11:28:20 +08:00 committed by *
parent 0a952e800a
commit b27cb830dc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export class VNode {
isForceUpdate: boolean = false; // 是否使用强制更新 isForceUpdate: boolean = false; // 是否使用强制更新
state: any = null; // ClassComponent和TreeRoot的状态 state: any = null; // ClassComponent和TreeRoot的状态
hooks: Array<Hook<any, any>> | null = []; // 保存hook hooks: Array<Hook<any, any>> | null = null; // 保存hook
suspenseChildStatus: string = ''; // Suspense的Children是否显示 suspenseChildStatus: string = ''; // Suspense的Children是否显示
depContexts: Array<ContextType<any>> | null = []; // FunctionComponent和ClassComponent对context的依赖列表 depContexts: Array<ContextType<any>> | null = []; // FunctionComponent和ClassComponent对context的依赖列表
isDepContextChange: boolean = false; // context是否变更 isDepContextChange: boolean = false; // context是否变更