Guthrie()
ts
function Guthrie(__namedParameters): Element;Defined in: renderer/root.tsx:59
Root component of the Guthrie runtime.
Initializes the runtime environment and renders the provided page. This component wires together all core systems including elements, functions, operators, events, and lifecycle execution.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | GuthrieProps |
Returns
Element
React Component
Remarks
Responsibilities:
- Registers element, function, and operator registries
- Configures global event handling
- Initializes references (e.g. "window")
- Executes lifecycle hooks (
onInit,onRender,onDestroy) - Delegates rendering to Renderer
Lifecycle:
onInit→ executed on mountonRender→ executed after renderonDestroy→ executed on unmount
Since
1.0.0
Author
Simon Kovtyk
Author
David Schummer