(current)
| 12058 | } |
| 12059 | |
| 12060 | function commitDeletion(current) { |
| 12061 | // Recursively delete all host nodes from the parent. |
| 12062 | // Detach refs and call componentWillUnmount() on the whole subtree. |
| 12063 | unmountHostComponents(current); |
| 12064 | detachFiber(current); |
| 12065 | } |
| 12066 | |
| 12067 | function commitWork(current, finishedWork) { |
| 12068 | switch (finishedWork.tag) { |
no test coverage detected