# EditorMountHook

> _Since v1.4.0_

Hook called when an editor host is mounted. Returning a function
registers a teardown that runs when the editor is released.

```ts
type EditorMountHook = (ctx: object) => () => void | void
```
