(fiber)
| 82 | let stateHookIndex = null |
| 83 | |
| 84 | function updateFunctionComponent(fiber) { |
| 85 | wipFiber = fiber |
| 86 | stateHookIndex = 0 |
| 87 | wipFiber.stateHooks = [] |
| 88 | wipFiber.effectHooks = [] |
| 89 | |
| 90 | const children = [fiber.type(fiber.props)] |
| 91 | reconcileChildren(fiber, children) |
| 92 | } |
| 93 | |
| 94 | function updateHostComponent(fiber) { |
| 95 | if (!fiber.dom) { |
no test coverage detected