(suspenseInstance)
| 37975 | : null; |
| 37976 | } |
| 37977 | function getNextHydratableInstanceAfterSuspenseInstance(suspenseInstance) { |
| 37978 | suspenseInstance = suspenseInstance.nextSibling; |
| 37979 | for (var depth = 0; suspenseInstance; ) { |
| 37980 | if (8 === suspenseInstance.nodeType) { |
| 37981 | var data = suspenseInstance.data; |
| 37982 | if (data === SUSPENSE_END_DATA) { |
| 37983 | if (0 === depth) |
| 37984 | return getNextHydratable(suspenseInstance.nextSibling); |
| 37985 | depth--; |
| 37986 | } else |
| 37987 | (data !== SUSPENSE_START_DATA && |
| 37988 | data !== SUSPENSE_FALLBACK_START_DATA && |
| 37989 | data !== SUSPENSE_PENDING_START_DATA) || |
| 37990 | depth++; |
| 37991 | } |
| 37992 | suspenseInstance = suspenseInstance.nextSibling; |
| 37993 | } |
| 37994 | return null; |
| 37995 | } |
| 37996 | function getParentSuspenseInstance(targetInstance) { |
| 37997 | targetInstance = targetInstance.previousSibling; |
| 37998 | for (var depth = 0; targetInstance; ) { |
no test coverage detected
searching dependent graphs…