(root)
| 4899 | } |
| 4900 | } |
| 4901 | function onPostCommitRoot(root) { |
| 4902 | if (injectedHook && typeof injectedHook.onPostCommitFiberRoot === 'function') { |
| 4903 | try { |
| 4904 | injectedHook.onPostCommitFiberRoot(rendererID, root); |
| 4905 | } catch (err) { |
| 4906 | { |
| 4907 | if (!hasLoggedError) { |
| 4908 | hasLoggedError = true; |
| 4909 | |
| 4910 | error('React instrumentation encountered an error: %s', err); |
| 4911 | } |
| 4912 | } |
| 4913 | } |
| 4914 | } |
| 4915 | } |
| 4916 | function onCommitUnmount(fiber) { |
| 4917 | if (injectedHook && typeof injectedHook.onCommitFiberUnmount === 'function') { |
| 4918 | try { |
no test coverage detected
searching dependent graphs…