Skip to content

Class: NodePatcher ​

Constructors ​

Constructor ​

new NodePatcher(): NodePatcher

Returns ​

NodePatcher

Methods ​

destroy() ​

destroy(): void

Returns ​

void


patch() ​

patch<P, T>(node, callback): void

Type Parameters ​

Type ParameterDefault type
P-
T extends ComponentType<P>ComponentType<P>

Parameters ​

ParameterType
nodeReactElement<P, T>
callbackUnknownPatch<P>

Returns ​

void