“Airbnb for dogs”). • Operating since 2012 in Spain, France, UK and Germany. • Launched our first mobile (hybrid) app in 2015 with Ionic Framework (Cordova) • Launched new React Native app in September 2017 About
ct-14 Dec-14 Feb-15 Apr-15 Jun-15 Aug-15 O ct-15 Dec-15 Feb-16 Apr-16 Jun-16 Aug-16 O ct-16 Dec-16 Feb-17 Apr-17 Jun-17 Aug-17 O ct-17 Dec-17 Feb-18 Apr-18 Jun-18 Desktop Mobile Tablet Gudog web traffic by type of device
React. 2. The main targets for RN are iOS & Android. 3. It does not compile JS into native code. 4. It does not use a webview. * Actually not just mobile apps, we'll see that later. React Native
Hot Reloading + Code Push Close enough to cross platform: write once, run in both iOS & Android % Large and active community: leverage the React + RN ecosystems Backed by large companies: Facebook, Microsoft, Netflix, Uber, etc.
C [or Swift] / Java IPA / APK JavaScript Realm JavaScriptCore * Single Thread ** One JS Bundle Business Logic * On iOS RN uses the existing JavaScriptCore. On Android, RN bundles it with your app. ** This is the thread you don't wanna block. Source: Talk Kol's "Introduction to React Native Performance"
want to test React Native right away" way create-react-native-app + Expo Client OR Snack + Expo Client B. The "Classic" way react-native-cli + Android Studio & Xcode + lots of imagination C. The "I'm building something serious but I got a million questions" way ignite-cli + your favorite boilerplate (+ Android Studio & Xcode)
no Android Studio • We'll run our app within the Expo client for Android or iOS $ npm install -g create-react-native-app $ create-react-native-app AwesomeProject $ cd AwesomeProject $ npm start