Function: shallowDestroy()
shallowDestroy(
root
):void
Defined in: src/sdk/components/FSComponent.ts:1206
Traverses a VNode tree in depth-first order and destroys the first DisplayComponent encountered in each branch of the tree.
Parameters
Parameter | Type | Description |
---|---|---|
root | VNode | The root of the tree to traverse. |
Returns
void