v0.16.155 - 35.6 / 25.8

Component

Component assist the creation of dynamic, untracked components. It takes a component and its props, then returns a function where you can pass additional props to override the initially defined ones.

# Component

nametypedescription
componentfn/Element/tagName/object with toString methodcomponent to create
[props]objectcomponent props

# Component as a Factory

Component with default props

# Component With Props Override

Component with default props that change

# Component With Empty Props

props argument may be omitted