A top-level App
component returns <Button />
from its render()
method.
-
What is the relationship between
<Button />
andthis
in thatButton
’srender()
? -
Does rendering
<Button><Icon /></Button>
guarantee that anIcon
mounts? -
Can the
App
change anything in theButton
output? What and how?
@djsmith42 I may be wrong but to be clear, I think it should return an array of instances of components which should be virtual DOM elements, not DOM elements. If that's incorrect, can you please clarify?