Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
An introduction to React Native
Search
Eugene Oskin
January 20, 2018
Programming
110
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
An introduction to React Native
Eugene Oskin
January 20, 2018
More Decks by Eugene Oskin
See All by Eugene Oskin
Local Models for Coding
evgeneoskin
0
18
REST API. Django, Ruby on Rails, Play! Framework
evgeneoskin
0
100
Introduction to gRPC
evgeneoskin
0
110
GrailInventory – Advanced Backend Development
evgeneoskin
0
48
Bracing Calculator
evgeneoskin
1
80
emotional intelligence, part 2
evgeneoskin
0
49
Office temperature
evgeneoskin
0
45
Parse platform
evgeneoskin
0
110
Hubot
evgeneoskin
0
61
Other Decks in Programming
See All in Programming
[DroidKaigi 2026] Bring your own phones to Gradle Managed Devices
f2lk
0
110
ALB ログから Trace を気合で繋げる技術
fohte
7
880
フロントエンドUIフレームワークのこれまでとこれから
ssssota
1
760
Building an Out-of-Order CPU
latte72
1
720
コンパウンドプロダクト開発のためのローカルプロセスマネージャー再発明 #layerxgo
izumin5210
0
660
マイコン向けの軽量Ruby「PicoRuby」で各種デバイスを制御するネイティブアプリの実現手法
bash0c7
0
120
Webの地図
yosuke_furukawa
PRO
1
550
PyO3 で既存 Python 評価器を Rust core 化する ー wasm-bindgen でブラウザにも配るための設計
kdash
1
560
新卒PdEのリアル
ryu1013
1
430
Intent as Code
shoppingjaws
2
350
個人開発基盤をまるごとCloudflareに引っ越して爆速で総合的体験を向上させた話
tinykitten
0
130
Go × SIMDで高速化するベクトル検索 ~ルーフラインモデルでSIMDが効く境界を探れ! ~
po3rin
1
160
Featured
See All Featured
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
290
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.6k
Context Engineering - Making Every Token Count
addyosmani
9
1.1k
Kristin Tynski - Automating Marketing Tasks With AI
techseoconnect
PRO
0
510
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Raft: Consensus for Rubyists
vanstee
141
7.7k
How STYLIGHT went responsive
nonsquared
100
6.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
380
Transcript
React Native
None
History
What is React Native?
A framework for building native apps using React.
With React Native, you don't build an “HTML5 app”, or
a “hybrid app”.
You build a real mobile app by using the iOS
and Android fundamental UI building blocks.
You put those building blocks together using JavaScript and React.
None
Vocabulary • Component = React Component • Style ~ CSS
style • Bridge • View = iOS or Android View • RN = ReactNative
None
Under the hood
None
Under the hood JavaScript in JavaScriptCore (WebKit’s JS engine) Awesome
Native App Bridge
How to Develop it, plan A • Plain React Native
app ◦ It's a 2 native applications in Native IDE with the several React Native components ◦ Native knowledge is required
How to Develop it, plan B • Expo ◦ It
is limited, it's a general js project ◦ No native knowledge is required ◦ You can publish it as Standalone apps
iOS + tvOS
Podfile
The magic RCTRootView
Android
build.gradle
The magic ReactRootView
• With headless JS Run js in Android services
Use in existed projects
Toolkit • Xcode • Android Studio • Native tests •
Native libraries • Native layouts • VS Code • React • Babel • Storybook! • Jest • Expo (optional, but powerful)
Components
Existed Components • https://js.coach/react-native • http://native.directory/
Use *.android.js and *.ios.js Platform-dependent components
Platform API
Platform-depended styles
Is it mature?
Is it mature? • Navigation • Network • Animations •
Multitasking on iPad • Other platforms
Navigation React Native Navigation – Demo React Native Router flux
Both support Tabs, Drawers, Stack
Network Built-in fetch
Animations It works - in react style. Doc and Demo
Native Multitasking on iPad
Other platforms • macOS • Windows, Windows Phone, Xbox One
Compilation is complex Debugging is complex Knowledge base Research Components
Dark side
Light side Community Code base sharing, Reusable components Single language
for development, for most of the projects Integrations with existed Native Apps Documentation
None
Takeaways • React Native is Native • Light and Dark
sides • React Native is mature
Materials: • Under the hood of react native • React
Native Fundamentals Components: • JS coach • http://native.directory/ • React Native Router Flux References • Integration with existing apps • Headless JS in Android • Building Expo standalone apps • React Native Navigation doc