react native 1

react native

React Native - Learn once, write anywhere.

Here is what the above code is Doing:
1. We’re importing the React Native library.
2. We’re importing the AppRegistry from the React Native library.
3. We’re importing the Component from the React library.
4. We’re creating a class called App.
5. We’re creating a render method that returns some JSX.
6. We’re telling the AppRegistry that our App component is the root component.

Similar Posts