A top-level App component returns <Button /> from its render() method.
-
What is the relationship between
<Button />andthisin thatButton’srender()? -
Does rendering
<Button><Icon /></Button>guarantee that anIconmounts? -
Can the
Appchange anything in theButtonoutput? 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?