pub fn create_element(typ: &JsValue, props: &Props, children: VNode) -> VNode
Expand description
The Rust equivalent to React.createElement
. Use h!
for a more
convenient way to create HTML element nodes. To create Rust components, use
Component::build()
.