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_Nativeとそのアーキテクチャ
Search
S-cubism
October 13, 2017
Technology
140
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
React_Nativeとそのアーキテクチャ
S-cubism
October 13, 2017
More Decks by S-cubism
See All by S-cubism
WSLでreactの開発環境作った話
scubism
0
740
未経験者がAndroidアプリをリリースするまで
scubism
0
160
scubism_LT_20180223_細田謙二_イベントソーシング
scubism
0
170
REVEAL.JSをちょっとだけ使ってみた
scubism
0
290
忙しい人のための仮想通貨
scubism
0
140
サーバ作業の注意コマンド
scubism
0
160
最近勉強してること、次にやりたいこと
scubism
0
130
FOOD TECH
scubism
0
81
Firebase(Realtime Database)について
scubism
0
140
Other Decks in Technology
See All in Technology
IoTデバイスを繋げるプロトコルMatterをAndroidで使用する方法
harutiro
0
120
AIは爆速なのに、私が詰まっていた話 ― 音声入力と鳴くマスコットでボトルネックを削る
yama3133
0
570
UniFi(ユニファイ)AIカメラの現場活用
ludicmind
1
380
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
580
The seven pitfalls of AI (revised version)
ufried
0
300
Deep Data Security 機能解説
oracle4engineer
PRO
2
740
[AWS 秋のクラウドオペレーション祭り 2026]AWS DevOps Agentで変わるリリースと運用対応 ~リリース管理機能と Directed actions のご紹介~
furuton
4
1.1k
使いこなすために知っておきたい Azure SRE Agent アンチパターン
torumakabe
2
430
OR学会2026年秋期大会_機械学習と数理最適化の融合による、配合レシピ最適化システム開発事例
brainpadpr
0
110
AIがコードを書く時代に、エンジニアは何で自分の価値を証明するのか / In an era where AI writes code how do engineers prove their value
carta_engineering
1
680
事業活動を AI Ready にする攻めと守りのデータエンジニアリング / data-engineering-for-ai-ready-business
pei0804
6
2.3k
脆弱性診断って、何をしているの? 〜弱点を見つけて、会社の改善につなげるまで〜
keeg
0
770
Featured
See All Featured
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
Navigating Weather and Climate Data
rabernat
0
550
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
230
23k
sira's awesome portfolio website redesign presentation
elsirapls
0
450
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
470
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
260
Claude Code のすすめ
schroneko
67
230k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
290
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Transcript
React Na(veと そのアーキテクチャ 2017/10/13 笹渕 弘輝
React Na(ve 概要 React(JavaScript)によりネイティブアプリをクロスプラット フォーム開発できるフレームワーク • Orange Opera(on POSで採用 •
開発:Facebook • Target OS:iOS、Android、(Windowsは別ライブラリ追加によ りUWP開発が可能) 長所:Webエンジニアがネイティブ開発に参加しやすい React Na(ve iOS Android windows
React Na(ve Build iOS App Run JavaScriptCore Babel JavaScript compiler
JavaScriptCore内のスレッドにおいて、 Reactが実行される。 Na(ve UI(Objec(ve-C) Bridge(Objec(ve-C/C++) Bridgeにより、ReactのUI Componentが Na(veを実行 Na(veのUIを表示する
Component Objec(ve-C Class Bridge RCTView <View> RCTTextView <Text> React Component
React Na(veのComponentは、Bridigeを通して、 Objec(ve-CのUIViewへと対応する。 Touch Event → ネイティブアプリに近いパフォーマンス → Reactに足りないNa(veの機能があれば、 対応するNa(veのClassを作成すれば利用できる。
Develop index.ios.js コマンド;react-na(ve run-ios localhost server Xcode Build App run
RCTRootView Cmd + R reload Xcode Debugging Bundle Reload Na(ve(objec(ve-C、SwiY) をデバッグ可能 JavaScriptのみリロードして、 高速にアプリ反映すること ができる。 JS実行環境をChrome V8に切替 Chrome Developer toolsを利用。 Chrome V8 Web Socket Na(ve UI → 高速なプロトプログラミング開発 の実現 JS and Bridge Google Chrome Debug時
Archive(Produc(on) index.ios.js コマンド;react-na(ve run-ios main bundle Xcode Build App run
RCTRootView Bundle Na(ve UI → Produc(onとDevelopでは、UIへの反映速度には 差がある。 JS and Bridge
引用 • React Na(ve JS Enviroment: h]ps://facebook.github.io/react- na(ve/releases/0.27/docs/javascript-environment.html • React
Na(ve Bridge: h]ps://facebook.github.io/react-na(ve/ docs/na(ve-modules-ios.html • JavaScriptCore: h]p://trac.webkit.org/wiki/JavaScriptCore • Chrome V8: h]ps://developers.google.com/v8