(childSlot, index)
| 20945 | } |
| 20946 | |
| 20947 | function validateSuspenseListNestedChild(childSlot, index) { |
| 20948 | { |
| 20949 | var isAnArray = isArray(childSlot); |
| 20950 | var isIterable = !isAnArray && typeof getIteratorFn(childSlot) === 'function'; |
| 20951 | |
| 20952 | if (isAnArray || isIterable) { |
| 20953 | var type = isAnArray ? 'array' : 'iterable'; |
| 20954 | |
| 20955 | error('A nested %s was passed to row #%s in <SuspenseList />. Wrap it in ' + 'an additional SuspenseList to configure its revealOrder: ' + '<SuspenseList revealOrder=...> ... ' + '<SuspenseList revealOrder=...>{%s}</SuspenseList> ... ' + '</SuspenseList>', type, index, type); |
| 20956 | |
| 20957 | return false; |
| 20958 | } |
| 20959 | } |
| 20960 | |
| 20961 | return true; |
| 20962 | } |
| 20963 | |
| 20964 | function validateSuspenseListChildren(children, revealOrder) { |
| 20965 | { |
no test coverage detected
searching dependent graphs…