![]() Plain React Native on Android emulator: ~2 hours.Plain React Native on iOS simulator: ~2 hours.Plain React Native on physical device: ~2 hours (Android or iOS).Expo on physical device: ~10 minutes (Android or iOS).Just to give you an idea of the setup time, here are some really rough estimates based on my experience: macOS It can take quite a bit time to set up your development environment without Expo, since you'll have to download, install and configure XCode and/or Android Studio. This way, you end up only writing JavaScript on locally, no native compilation step necessary. Expo overcomes this be allowing you to install a native "shell" app on your phone and transfer the JavaScript bundle you're working on directly into this native shell. This is simply not possible with plain React Native, because native iOS apps can only be built on a macOS machine. You should also definitely go for Expo if you have a Windows or Linux machine, but you want to run the app on your physical iPhone. ![]() If you are completely new to mobile development and just want to get a taste of React Native without a lot of upfront configuration work, I'd recommend starting with Expo, just because you'll get to the part where you try out coding much quicker. However if you don't have any strong opinions on this and need help deciding, read on! This is an introductory workshop and can be followed with Expo and without. Some people have strong options on whether or not they want to use Expo for React Native, and if you're one of those people, feel free to skip this and carry on with your preference. They are a separate company, not affiliated with Facebook. Expo is essentially a suite of tools build for and around React Native, designed to improve and enhance the developer experience. If you've been eyeing up the React Native space already, you've probably heard of Expo. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |