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
1
89
An introduction to React Native
Eugene Oskin
January 20, 2018
Tweet
Share
More Decks by Eugene Oskin
See All by Eugene Oskin
REST API. Django, Ruby on Rails, Play! Framework
evgeneoskin
0
71
Introduction to gRPC
evgeneoskin
0
60
GrailInventory – Advanced Backend Development
evgeneoskin
0
32
Bracing Calculator
evgeneoskin
1
63
emotional intelligence, part 2
evgeneoskin
0
34
Office temperature
evgeneoskin
0
31
Parse platform
evgeneoskin
0
96
Hubot
evgeneoskin
0
47
An introduction to iOS development
evgeneoskin
0
37
Other Decks in Programming
See All in Programming
2 週間で Twitter Bot を作ってみた
contour_gara
0
790
見た目から始める生産性向上
ikumatadokoro
10
1.5k
新宿ダンジョンを可視化してみた
satoshi7190
3
400
Site Reliability Engineering for GMO
pyama86
8
1.1k
PostmanでAPIの動作確認が楽になった話
h455h1
0
180
Elm Form Validation
bkuhlmann
0
520
Domain-Driven Transformation
hschwentner
2
1.5k
敵対的ポイフル
futabato
0
140
Let's learn code review
riofujimon
2
600
Introducing Kotlin Multiplatform in an existing mobile app - Workshop Edition | AndroidMakers Paris
prof18
0
160
GraphQLサーバの構成要素を整理する #ハッカー鮨 #tsukijigraphql / graphql server technology selection
izumin5210
4
910
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
6
1.3k
Featured
See All Featured
Building Your Own Lightsaber
phodgson
100
5.7k
Designing on Purpose - Digital PM Summit 2013
jponch
111
6.5k
Happy Clients
brianwarren
92
6.4k
Making Projects Easy
brettharned
109
5.5k
Building a Modern Day E-commerce SEO Strategy
aleyda
22
6.4k
Music & Morning Musume
bryan
41
5.6k
Web development in the modern age
philhawksworth
203
10k
Side Projects
sachag
451
41k
Into the Great Unknown - MozCon
thekraken
15
1k
Build The Right Thing And Hit Your Dates
maggiecrowley
25
2k
A Tale of Four Properties
chriscoyier
152
22k
ParisWeb 2013: Learning to Love: Crash Course in Emotional UX Design
dotmariusz
104
6.6k
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