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
Navigation
Search
Peter Lazar
July 24, 2016
Programming
0
41
Navigation
Peter Lazar
July 24, 2016
Tweet
Share
More Decks by Peter Lazar
See All by Peter Lazar
Typechecking in Javascript
peterlazar1993
0
60
Other Decks in Programming
See All in Programming
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
270
Milestoner
bkuhlmann
1
410
Micro Frontends for Java Microservices - Devnexus 2024
mraible
PRO
0
490
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
530
雑に思考を整理する技術と効能
konifar
59
29k
Changed Rules: Architectures with Lightweight Stores
manfredsteyer
PRO
0
240
はてなにおける CSS Modules、及び CSS Modules に足りないもの / CSS Modules in Hatena, and CSS Modules missing parts
mizdra
7
920
Netty Chicago Java User Group 2024-04-17
sullis
0
170
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
230
Elm Form Validation
bkuhlmann
0
510
Azure OpenAI Serviceのプロンプトエンジニアリング入門
tomokusaba
3
690
ONE WEDGE_company_guide
1wedge_one
0
470
Featured
See All Featured
Designing for Performance
lara
601
67k
Clear Off the Table
cherdarchuk
84
310k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
226
51k
Fontdeck: Realign not Redesign
paulrobertlloyd
76
4.9k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
187
16k
What's in a price? How to price your products and services
michaelherold
237
11k
GraphQLとの向き合い方2022年版
quramy
32
12k
Rails Girls Zürich Keynote
gr2m
91
13k
Become a Pro
speakerdeck
PRO
11
4.5k
The Power of CSS Pseudo Elements
geoffreycrofte
60
5k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
40
4.4k
Transcript
Navigation in React Native Peter Lazar( @peterlazar1993 )
Declarative vs Imperative
Imperative $("#btn").click(function() { $(this).toggleClass("highlight") $(this).text() === 'Add Highlight' ? $(this).text('Remove
Highlight') : $(this).text('Add Highlight') }) Declarative <Btn onToggleHighlight={this.handleToggleHighlight} highlight={this.state.highlight}> {this.state.buttonText} </Btn>
Navigation in RN NavigatorIOS Navigator NavigationExperimental
NavigatorIOS Pros It's native!! Implemets iOSUINavigationController Great for small/iOS only
projects
NavigatorIOS Cons Not maintained by FB anymore Limited API
Navigator Pros Cross Platform Extensive API Well documented
Code
Navigator Cons Less re ned animations Poor DX (Navigation State
management) Being replaced by NavigationExperimental
NavigationExperimental Pros Cross Platform Single directional data ow Fine grained
Control
NavigationExperimental Cons Not stable yet More setup!!
Honorable Mentions React Native Navigation React Native Router Flux React
Router Native
Questions?
Peter Lazar Github: peterlazar1993 Twitter: @peterlazar1993