From 14192dcce2c971580ff7f36f5696578b6eb64252 Mon Sep 17 00:00:00 2001 From: Shauden Yu Date: Mon, 24 Jan 2022 20:14:32 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20stateNode=20=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/process/fiber.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/process/fiber.md b/docs/process/fiber.md index 1cd3c1e..e92f547 100644 --- a/docs/process/fiber.md +++ b/docs/process/fiber.md @@ -116,7 +116,7 @@ this.key = key; this.elementType = null; // 对于 FunctionComponent,指函数本身,对于ClassComponent,指class,对于HostComponent,指DOM节点tagName this.type = null; -// Fiber对应的真实DOM节点 +// Fiber对应的Class Component 实例 this.stateNode = null; ``` From de019c3149656eef0159e30b67462bbc65eb946b Mon Sep 17 00:00:00 2001 From: Shauden Yu Date: Mon, 24 Jan 2022 21:08:09 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20stateNode=20=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/process/fiber.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/process/fiber.md b/docs/process/fiber.md index e92f547..64506d8 100644 --- a/docs/process/fiber.md +++ b/docs/process/fiber.md @@ -116,7 +116,7 @@ this.key = key; this.elementType = null; // 对于 FunctionComponent,指函数本身,对于ClassComponent,指class,对于HostComponent,指DOM节点tagName this.type = null; -// Fiber对应的Class Component 实例 +// Fiber对应的的真实DOM节点或Class Component实例 this.stateNode = null; ```