( content: string, numberOfNodes: number, )
| 761 | * @private |
| 762 | */ |
| 763 | export function createStaticVNode( |
| 764 | content: string, |
| 765 | numberOfNodes: number, |
| 766 | ): VNode { |
| 767 | // A static vnode can contain multiple stringified elements, and the number |
| 768 | // of elements is necessary for hydration. |
| 769 | const vnode = createVNode(Static, null, content) |
| 770 | vnode.staticCount = numberOfNodes |
| 771 | return vnode |
| 772 | } |
| 773 | |
| 774 | /** |
| 775 | * @private |
no outgoing calls