From the course: Learning React Native

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

What is React Native?

What is React Native?

From the course: Learning React Native

Start my 1-month free trial

What is React Native?

- [Instructor] React Native allows you to use React to build native applications for iOS or Android devices. If you're familiar with using React in the browser, then you know that your React components contain elements that are specific to the browser. For example, if you were to create a Friend component to display the name and avatar image of one friend, that syntax might look something like this. This code defines a React component called Friend. React components are JavaScript functions. The component returns a description for what the DOM should look like using JSX elements. Div, heading one, and image are JSX elements that represent tags that are specific to the browser. In React Native we don't have a browser. We have a native iOS or Android application. Your iPhone doesn't know what a div or heading one is. An iOS device has its own native elements that are used to construct the user interface. Instead of using a div, or…

Contents