ViewDiagnostics
interfaceHow a view tells the host whether it actually rendered. The runtime graph and the eval harness read only this channel. A view that mounts without calling `ready`, or that swallows an error without calling `failed`, reads as a blank panel with nothing to look at. The SDK's own error boundary is already wired to both.
Import
import { ViewDiagnostics } from '@modular/sdk/view';Members2
- failed
(error: unknown) => voidReport a render failure, with the thrown value.
- ready
() => voidReport that the component committed to the DOM.
Notes
- category
- Context