Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Beyond the React Native Benchmark

Ankita Kulkarni
July 11, 2019
42

Beyond the React Native Benchmark

Ankita Kulkarni

July 11, 2019
Tweet

Transcript

  1. @kulkarniankita9 Raise your hand ✋ How many of you are

    working towards or already have apps in the app store?
  2. @kulkarniankita9 Directory structure index.js App.js ios/ android/ src screens login

    index.js actions/epic/reducer/selector common components button primaryButton/secondaryButton/tertiaryButton
  3. @kulkarniankita9 Directory structure • Add a package.json to the root

    level directory structure so your imports look normal: import { TextInput } from “@app/common/components/form/textInput” And not: import { TextInput } from “../../../../common/components/form/textInput"
  4. @kulkarniankita9 Challenges • A lot of shared context made it

    difficult to share code Vertical slicing modules eg: auth, biometrics
  5. @kulkarniankita9 Common components ✨ • ScrollView • SafeAreaView ⛑ •

    KeyboardAwareScrollView ⌨ • Text components: Headings, Body, Captions ✅ • Form components: InputText, Button
  6. @kulkarniankita9 Challenges • Creating basic components was getting difficult to

    manage We adopted styled-components for design components We used Stylesheets for screen design
  7. @kulkarniankita9 Static assets As a user , I want to

    see the company’s logo in the login background company-logo.png [email protected] [email protected] React-native-vector-icons: IcoMoon
  8. @kulkarniankita9 Challenges • There are too many tools out there

    that try to solve CI/CD We used VS App Center
  9. @kulkarniankita9 App Store submission checklist • Read the Human 9

    Interface Guidelines carefully • Links must be clickable with touchable area • If you are using a 3rd party provider, provide more info • Section: Additional info - provide a lot of detail ℹ • Test Account: Definitely provide a test account