Say I want to create a component that is a View, I think I'd do something like this:
class MyView extends View {
render() {
return (
<View ...>
<Stuff />
</View>
);
}
}
Now I may be unaware some very basic things here, but would it not be possible just to return the contents of my new view in render, given that the MyView will be included in some other render higher up the containment hierarchy?
So I'd like to be able to this:
class MyView extends View {
render() {
return (
<Stuff />
);
}
}