- createVNode(type, props?, children?, patchFlag?, dynamicProps?, isBlockNode?): VNode
Parameters
type: VNodeTypes | ClassComponent | typeof NULL_DYNAMIC_COMPONENT
Optional props: Data & VNodeProps
Optional children: unknown
Optional patchFlag: number
Optional dynamicProps: string[]
Optional isBlockNode: boolean