1
0
Fork 0
Browse Source

vault backup: 2022-05-09 16:28:24

master
YuJian 3 years ago
parent
commit
a3ffb58188
  1. 8
      React 的源码深入/React 的流程解析 - Fiber 递归/React 的深入探索 - createWorkInProgress.md

8
React 的源码深入/React 的流程解析 - Fiber 递归/React 的深入探索 - createWorkInProgress.md

@ -61,15 +61,15 @@ switch (workInProgress.tag) { @@ -61,15 +61,15 @@ switch (workInProgress.tag) {
case FunctionComponent:
case SimpleMemoComponent:
workInProgress.type = resolveFunctionForHotReloading(current.type);
break;
break;
case ClassComponent:
workInProgress.type = resolveClassForHotReloading(current.type);
break;
case ForwardRef:
workInProgress.type = resolveForwardRefForHotReloading(current.type);
break;
case ForwardRef:
workInProgress.type = resolveForwardRefForHotReloading(current.type);
break;
}
```

Loading…
Cancel
Save