wip: minimal component implementation

This commit is contained in:
Evan You
2019-05-28 13:27:31 +08:00
parent 28a0c50357
commit b69ea00f5c
4 changed files with 158 additions and 28 deletions

View File

@@ -37,5 +37,7 @@ export const DOMRendererOptions: RendererOptions = {
el.textContent = text
},
parentNode: (node: Node): Node | null => node.parentNode,
nextSibling: (node: Node): Node | null => node.nextSibling
}