(current)
| 11842 | } |
| 11843 | |
| 11844 | function commitDeletion(current) { |
| 11845 | // Recursively delete all host nodes from the parent. |
| 11846 | // Detach refs and call componentWillUnmount() on the whole subtree. |
| 11847 | unmountHostComponents(current); |
| 11848 | detachFiber(current); |
| 11849 | } |
| 11850 | |
| 11851 | function commitWork(current, finishedWork) { |
| 11852 | switch (finishedWork.tag) { |
no test coverage detected