Skip to content

@continuum-js/dom


@continuum-js/dom / onCleanup

Function: onCleanup() ​

onCleanup(fn): void

Defined in: index.tsx:100

Register a cleanup in the current owner. Throws outside any owner.

Parameters ​

fn ​

() => void

Returns ​

void