(current)
| 11168 | } |
| 11169 | |
| 11170 | function commitDeletion(current) { |
| 11171 | // Recursively delete all host nodes from the parent. |
| 11172 | // Detach refs and call componentWillUnmount() on the whole subtree. |
| 11173 | unmountHostComponents(current); |
| 11174 | detachFiber(current); |
| 11175 | } |
| 11176 | |
| 11177 | function commitWork(current, finishedWork) { |
| 11178 | switch (finishedWork.tag) { |
no test coverage detected