A FunctionalComponent that accepts PropsChildren in addition to props
.
A FunctionalComponent that accepts PropsChildren in addition to props
.
Creates a FunctionalComponent.
Creates a FunctionalComponent.
If props
is Unit
, there is also ReactComponentB.static which also sets shouldComponentUpdate
to false
which should be more efficient.