()
| 248 | } |
| 249 | |
| 250 | function commitRoot() { |
| 251 | deletions.forEach(commitWork) |
| 252 | commitWork(wipRoot.child) |
| 253 | commitEffectHooks() |
| 254 | currentRoot = wipRoot |
| 255 | wipRoot = null |
| 256 | deletions = [] |
| 257 | } |
| 258 | |
| 259 | function commitWork(fiber) { |
| 260 | if (!fiber) { |
no test coverage detected