'Why use parent.$createElement in the vue-router source code

/src/components/view.js

As the comment writes, can resolve named slots But what I don't understand is why parent.$createElement different from _

enter image description here



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source