pub opaque type Component
pub type ComponentId = String
pub fn component( tag: String, children: List(Component), ) -> Component
pub fn copy(comp: Component) -> Component
pub fn document() -> Component
pub fn get_component(id: String) -> Component
pub fn html(value: String) -> Component
gets wraped by a custom element tag (<HTML>)
pub fn set_child( comp: Component, children: Component, ) -> Component
pub fn text(value: String) -> Component
gets wraped by a custom element tag (<TEXT>)