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
React vs React-Native
Search
Jesse Wolgamott
August 17, 2017
Programming
0
79
React vs React-Native
Newbiew/Beginniner friendly exploration into what is similar and what is different in react-native
Jesse Wolgamott
August 17, 2017
Tweet
Share
More Decks by Jesse Wolgamott
See All by Jesse Wolgamott
What is an API
jwo
0
140
DIY Rails Authentication
jwo
0
170
ActionCable - For Not Another Chat App
jwo
3
1.2k
SlackBot.rb - Create You a Slack Bot
jwo
1
1.1k
react-rails: an isomorphic match made in heaven
jwo
0
1.1k
Docker - next big thing
jwo
0
730
Ruby 2.1 Overview
jwo
0
730
Rails 4: Appetizers
jwo
1
750
The Long Ball: Upgrading Rails from 1.2 -> 4.0
jwo
2
180
Other Decks in Programming
See All in Programming
OpenAPIを中心に考えるAPI開発入門 / Introduction to API Development with a Focus on OpenAPI
seike460
PRO
2
170
Rubyでたのしむクリエイティブコーディング/Enjoy Creative coding with Ruby
chobishiba
1
180
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
900
Git Lint
bkuhlmann
4
750
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
450
MicrosoftのPlatform Engineeringガイドを読んで実際になにかやってみた
ymd65536
1
300
Site Reliability Engineering for GMO
pyama86
7
1k
ONE WEDGE_company_guide
1wedge_one
0
460
1BRC--Nerd Sniping the Java Community
gunnarmorling
0
340
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
230
DMMプラットフォームがTiDB Cloudを採用した背景
pospome
8
4k
"config" ってなんだ? / What is "config"?
okashoi
0
240
Featured
See All Featured
Code Reviewing Like a Champion
maltzj
514
39k
GitHub's CSS Performance
jonrohan
1025
450k
Art, The Web, and Tiny UX
lynnandtonic
289
19k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
30
6k
4 Signs Your Business is Dying
shpigford
175
21k
Why Our Code Smells
bkeepers
PRO
331
56k
Adopting Sorbet at Scale
ufuk
68
8.6k
Gamification - CAS2011
davidbonilla
76
4.6k
Stop Working from a Prison Cell
hatefulcrawdad
266
19k
KATA
mclloyd
15
12k
Code Review Best Practice
trishagee
55
15k
Atom: Resistance is Futile
akmur
259
25k
Transcript
React vs React-Native by Jesse Wolgamott (@jwo) for Houston React
Meetup - Aug 17, 2017
What is React Native?
Mobile Apps in React iPhone / iPad / AppleTV Android
phones / tablets
React Native was created by Facebook
Both iOS and Android with one codebase* *ish
Is it Native? React Native: both JS and native code
Is it Native? JS runs on virtual machine on the
mobile device and communicates with the native code
Similarities
Rendering React React-Native Editor Atom Atom Language JSX JSX Toolset
WebPack WebPack Metaphor Components Components Testing Jest Jest Linter Prettier Prettier
Differences
Rendering HTML Native <div> <View> text <Text>
Native Code Geolocation Camera in-app-purchases
Deployment HTML Native Public Server App Store
Dev Flow
Easy, Fun 1. create-react-native-app 2. use Echo App to run
on mobile device 3. Eject 4. Build and Deploy
Hard, :( 1. create-react-native-app 2. Eject 3. Integrate with mobile
app 4. Run on mobile device or simular 5. Build and Deploy
Layouts 1. Use Flexbox 2. Get Better At Flexbox 3.
GOTO 2
Navigation 1. React-Router (my perferred) 2. react-native-router- ux
State 1. Redux (my perferred) 2. react-native-router- ux
Resources http://facebook.github.io/react-native/ https://js.coach/react-native https://expo.io/
Demo Code: github.com/jwo/demo-react-native Full App github.com/jwo/example-react-native-redux- router