Expo is a great tool for mobile app
In terms of developing a mobile app with JS, Expo is one of the great tools that can be used, and today I like to talk about how to get start it.
So what is Expo?
Before we even discuss the definition of the expo, we should know that there are two ways to build an application using react-native. First is react Native CLI, and second is Expo CLI, as both tools are excellent for building an application, and yet Expo can be more friendly for a beginner like me since it has convenient features with well-described documentation that is easy to adopt it. Now let’s talk about Expo with more explanation, according to the official document Expo is, “a framework and platform for universal React applications. it is a set of tools and services built around React Native and native platforms that help you develop, build, deploy, and quickly iterate on iOS, Android, and web apps from the same JavaScript/ TypeScript codebase.” In my definition, it’s a great tool that starts building a mobile application.
So How to start?
First we have to install as globally,
$ npm install -g expo-cli
Ok! after we install globally expo dependencies and now follow the below commands,
$expo init my-project
That’s it! After we successfully installed with Expo globally and created a my-project template. Since we are creating a mobile app we also need to install apps that can sync with our code from pc, so make sure to download from Expo either from play store(Android), or App Store(iOS).
Once we download the app and open my-project, type “expo start” and if everything goes well, you should see the image like below from your phone, and you all done!