Slide 1

Slide 1 text

Build First Mobile App With React Native RANDY VIANDA PUTRA

Slide 2

Slide 2 text

Introduction

Slide 3

Slide 3 text

1. Understand how to install React Native 2. Understand the concept of React Native 3. Build first application using React Native 4. Can be implemented Agenda

Slide 4

Slide 4 text

Prerequisite ?

Slide 5

Slide 5 text

1. Basic Javascript (ES6) 2. Basic understanding of npm & how it works 3. Knowledge of how to use command line Prerequisite

Slide 6

Slide 6 text

1. Node version >= 5 2. JDK (Java Development Kit) 8 3. Xcode (to run on IOS Simulator) 4. Genymotion / Android Studio (to run on Android Simulator) Environment

Slide 7

Slide 7 text

Let’s Start :-)

Slide 8

Slide 8 text

1. Build using React 2. Build cross platform apps using javascript 3. Target not only ios & android, but also Apple TV, VR, AR, Windows & Desktop 4. Release 2015 March 5. Learn once write everywhere 6. Rapidly gaining in popularity & adoption What is React Native ?

Slide 9

Slide 9 text

Who’s using React Native ?

Slide 10

Slide 10 text

1. Faster speed of development 2. Lower cost of development a. Code reuse b. Easier to find developers 3. Ship accross multiple platform 4. Simple code 5. One for all :-D Why React Native ?

Slide 11

Slide 11 text

How does React Native work ? Button UI JS Create a button Button pressed

Slide 12

Slide 12 text

Let’s Start Coding :-)

Slide 13

Slide 13 text

1. React Native CLI 2. Create React Native App CLI Creating a new React Native Project

Slide 14

Slide 14 text

Components, Rendering & Lifecyles The main idea behind react

Slide 15

Slide 15 text

1. Represent a piece of UI 2. Can be created in one of two ways : 1. Stateless (function) 2. Statefull (class) Components

Slide 16

Slide 16 text

1. Creating / Mounting 2. Updating 3. Unmounting 3 types of component lifecycles

Slide 17

Slide 17 text

Creating / Mounting

Slide 18

Slide 18 text

Updating

Slide 19

Slide 19 text

Unmounting

Slide 20

Slide 20 text

Lifecycles

Slide 21

Slide 21 text

Data

Slide 22

Slide 22 text

State

Slide 23

Slide 23 text

Props

Slide 24

Slide 24 text

Build Simple Application Using React Native Study Case

Slide 25

Slide 25 text

Thank You :-) github.com/randyviandaputra