![]() It includes the run time with an extensive set of APIs built by the Expo team to add capabilities like notifications and haptics. This is like a web browser for developing React native apps. You open it on Android or iOS, download an app from the App Store called Xcode, and install it. This is what an Expo managed project looks like. It looks a lot more like a React DOM project. But we don't have any native projects in the terminal on the right. To run this project, we'd open the Android and iOS project directories in Android Studio and Xcode, then compile and run the projects. Notice the Android and iOS directories in the terminal on the left. ![]() Xcode makes it possible to write your app in just TypeScript or JavaScript and configure it in JSON. ![]() So, I've said that Xcode picks up where React Native leaves off. In the rest of this talk, we'll look at what Xcode can do, how its abstractions work, how these abstractions can sometimes fall short, and what we're doing to solve these limitations. Xcode is a set of open-source projects and hosted services to help you handle the accidental complexity of cross-platform app development. Xcode picks up where React Native leaves off and helps you stay productive in React. You can bring in native experts to manage the native side, and you can use Xcode tools. You can grow the native skill set on your team of React developers. Depending on what you're building, you might even need to get comfortable with writing native code. You'll need to be able to distinguish between a key store and a distribution certificate. You'll have to learn a thing or two about Xcode and Cocoapods and Android Studio and Gradle. What this means is that some familiarity with native code and tools will be needed. React Native doesn't aim to provide an abstraction over everything that you need to do to build an app. A lot of the work that you need to do to build a web app exists outside of React DOM and greater extent with React Native. Another thing React Native has in common with React DOM is there's a small unopinionated core. The component API is the same, you can keep using your favorite state management library, React dev tools and a bunch of other stuff. A lot of the same knowledge will apply to React Native. If you want to build an app for Android and iOS and use React on the web, React Native is probably a good choice. ![]() There are great resources for these topics that I'll link to at the end. We're not going to talk about how to handle gestures and animations, navigation, or even talk through a single line of React Native code. This talk is a high-level overview of building React Native apps with Expo and EAS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |