- h(element, props, children): View
Parameters
- element: unknown
- props: ElementProps
- children: Child
- h(element, props): View
Parameters
- element: unknown
- props: ElementProps
- h(element, children): View
Parameters
- element: unknown
- children: Child
- h(element): View
- h<T, K>(element, props, children): View
- h<T>(element, props): View
- h<K>(element, children): View
- h(element): View
h
Example: Element with a single child
Example: Element with multiple children
Example: Component with event handler