(anchorVnode: VNode)
| 2625 | } |
| 2626 | |
| 2627 | function resolveAsyncComponentPlaceholder(anchorVnode: VNode) { |
| 2628 | if (anchorVnode.placeholder) { |
| 2629 | return anchorVnode.placeholder |
| 2630 | } |
| 2631 | |
| 2632 | // anchor vnode maybe is a wrapper component has single unresolved async component |
| 2633 | const instance = anchorVnode.component |
| 2634 | if (instance) { |
| 2635 | return resolveAsyncComponentPlaceholder(instance.subTree) |
| 2636 | } |
| 2637 | |
| 2638 | return null |
| 2639 | } |
no outgoing calls
no test coverage detected