

It downloads and installs the React Native boilerplate for you, integrated with expo API ( check here for installation guide). The first step is to install it, and there are several ways to do it: Using expo-cli:Įxpo-cli is a command line tool. Starting with react-native can be exciting, but at the same can be a bit confusing. Reactjs code allows us to build great UI and user experience components. While you are building React Native apps, you will actually write JavaScript. Awesome! ? Write your code all in JavaScript and React React Native solved this problem so you can build your React Native app and it will work in iOS and Android. Before Facebook created it, you had to build your app twice and with different code: one for iOS using Swift or Objective-C and one for Android using Java or Kotlin. This is one of the great benefits of React Native. Yeah, with React Native you can build mobile apps that can run on iOS and Android. Building cross platform mobile apps (iOS and Android)


But those libraries use Webview, and the apps built with those technologies are not native. There are some other JavaScript libraries for building mobile apps like ionic or PhoneGap.

It gives us the ability to use all the native components like gestures, push notifications, camera, and location. React Native allows us to write native apps in JavaScript for both iOS and Android. Here is what you can do with React Native: Building native mobile apps It gives us many solutions that other technologies can not afford. Right, so why React native and not any other technology? This article is an intro to the world of React Native, so get ready ?. Before React Native, you had to write your code twice - one for Android and one for IOS. React Native comes with great advantages like building cross-platform apps for both Android and IOS. That is, until Facebook’s React Native broke this barrier. They have to learn Java, or Objective-C …or any programming language that was used for this purpose. It was hard for any web developer to dive into building native mobile apps. JavaScript is for building web apps, and using it to build native mobile app used to not be possible. Nothing is better than building apps with JavaScript.
