Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
React Naitive
Search
Evgeniy Sokovikov
June 26, 2015
Programming
95
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
React Naitive
Evgeniy Sokovikov
June 26, 2015
Other Decks in Programming
See All in Programming
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
160
自サークルのIdPからログアウトできるようになるまで
taiseiue
1
140
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
430
[Dev Group Paris Octobre 26] Agentforce, SIforce, Claudeforce, Slackbot… on s'y retrouve ?
nabondance
0
110
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
180
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
1k
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
150
Domain-Driven Transformation
hschwentner
2
2.3k
Event is what happens
moro
2
780
【加筆修正版】Laravel のアプリケーションをどこにデプロイするか #phpcon_ehime
akase244
0
150
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
370
Kotlinの15年とServer-Side Kotlin
n_takehata
1
150
Featured
See All Featured
The browser strikes back
jonoalderson
0
1.8k
What's in a price? How to price your products and services
michaelherold
247
13k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1k
The Pragmatic Product Professional
lauravandoore
37
7.5k
Building a Scalable Design System with Sketch
lauravandoore
464
34k
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
1
3.4k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
640
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
330
Designing for Timeless Needs
cassininazir
1
530
How to Talk to Developers About Accessibility
jct
2
580
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
The Limits of Empathy - UXLibs8
cassininazir
2
720
Transcript
React Native Мощь React для вашего мобильного приложения
Зачем нужен еще 1?
None
None
Чем плохи web-технологии? • Компоненты платформы • Производительность • Сложная
система жестов
Чем плоха нативная разработка? • Компиляция • не Javascript •
Инструменты • Layout
Rethinking best practices • Разделение логики по компонентам • JS
как шаблонизатор • Virtual Dom, tree diff, полный ререндеринг
State TodoList TodoItem TodoItem <div> DOM
State TodoList TodoItem TodoItem [[UIView alloc] initWithFrame:viewRect] UIKit
None
JavaScriptCore • импортировать objective-c объекты в JS • выполнять objective-c
блоки из js
Main Thread JS Thread UIThread Objective C Event Loop
Main Thread @implementation HelloJS RCT_EXPORT_MODULE RCT_EXPORT_METHOD(sayHello:(NSString *) name) { RCTLogInfo(@“Hello
%@", name); }
RCT_EXPORT_MODULE NSMutableArray со всеми классами var HelloJS = require('NativeModules').HelloJS; HelloJS.sayHello(‘cool
kid’)
OMFG • Cmd + r • livereload • дружественные сообщения
об ошибках • Chrome debugger • React!!!
Layout
Android xml vs dsl • DSL компактнее • no code
reuse • same code for every layout
Layout в iOS • Мощный графический редактор • TodoList -
160 страниц!
CSS это круто
Flexbox
CSS Facebook style • css в javascript • inline styles
var SuperComponent = React.createClass({ render: function() { return ( <View
style={styles.container}> <Text style={styles.welcome}> Welcome to React Native! </Text> </View> ); } }); var styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', }, welcome: { fontSize: 20, }, });
Networking • fetch • ajax
ReactNative приложения • F8 • Groups • Ads Manager
Недостатки • отсутствие IDE • JavaScript • Не совсем web
• Еще 1 абстракция • пока нет android • windows phone похоже и не планируется • нет работы :(
None
Nuclide ide
Flow • Gradual typing • type checker • Flow vs
TypeScript • планы на будущее
Learn once, write everywhere
Спасибо за внимание