> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Function: cleanup()

> **cleanup**(): `void`

Cleanup elements rendered to the page and Preact trees that were mounted with render.

## Returns

`void`
