We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 791e611 commit 9362280Copy full SHA for 9362280
packages/react-node-registry/src/view.ts
@@ -25,10 +25,10 @@ export class ReactNodeView extends HtmlNode {
25
rootEl.appendChild(el)
26
}
27
28
- // confirmUpdate(_rootEl: SVGForeignObjectElement) {
29
- // // TODO: 如有需要,可以先通过继承的方式,自定义该节点的更新逻辑;我们后续会根据实际需求,丰富该功能
30
- // // console.log('_rootEl', _rootEl)
31
- // }
+ confirmUpdate(_rootEl: SVGForeignObjectElement) {
+ // TODO: 如有需要,可以先通过继承的方式,自定义该节点的更新逻辑;我们后续会根据实际需求,丰富该功能
+ console.log('_rootEl', _rootEl)
+ }
32
33
protected renderReactComponent(container: HTMLElement) {
34
this.unmountReactComponent()
0 commit comments