build abstract method
Builds the reactive Virtual DOM structure for this component.
This method is called:
- During server-side rendering to generate the initial HTML.
- On the browser during hydration.
- Whenever update is triggering (e.g., after state changes).
Override this to define the component's UI. It should return a single
root element (usually a div or similar container).
Implementation
html.Element build();