309 B
309 B
Error handling
Astute observers might have noticed that Element is actually a type alias for Option<VNode>. You don't need to know what a VNode is, but it's important to recognize that we could actually return nothing at all:
fn App((cx, props): Component<()>) -> Element {
None
}