(current)
| 11945 | } |
| 11946 | |
| 11947 | function commitDeletion(current) { |
| 11948 | // Recursively delete all host nodes from the parent. |
| 11949 | // Detach refs and call componentWillUnmount() on the whole subtree. |
| 11950 | unmountHostComponents(current); |
| 11951 | detachFiber(current); |
| 11952 | } |
| 11953 | |
| 11954 | function commitWork(current, finishedWork) { |
| 11955 | switch (finishedWork.tag) { |
no test coverage detected