Reputation: 1805
In React native we create components as:-
export default class MyComponent extends Component {
render() {
return (
<View >
</View>
)
}
}
and make a Android build but when its run on android OS then these components will convert into which android component (fragment, View or ViewGroup).
Upvotes: 1
Views: 611
Reputation: 1805
Basically In android Its Invoke A single activity (MainActivity) and inside it a single view ReactRootView rendered something like fragment renders in activity. All React native components render inside single ReactRootView.
for more details :- https://facebook.github.io/react-native/docs/integration-with-existing-apps
Upvotes: 2