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
初めてのExpoアプリ個人開発
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
t6adev
October 02, 2021
Technology
260
1
Share
初めてのExpoアプリ個人開発
https://reactnative-matsuri.com/speakers/G86t6y1Y3idDwm7VkPxt
t6adev
October 02, 2021
More Decks by t6adev
See All by t6adev
Oxlintとeslint-plugin-react-hooks 明日から始められそう?
t6adev
0
300
awaitをやめたReact?
t6adev
2
950
jotaifriends.dev 始めました
t6adev
0
1.8k
jotaifriends.dev で使っているWeb APIの紹介
t6adev
0
390
React状態管理ライブラリJotaiとは
t6adev
0
470
Other Decks in Technology
See All in Technology
需要創出(Chatwork)×供給(BPaaS) フライホイールとMoat 実行能力の最適配置とAI戦略
kubell_hr
0
1.6k
小説執筆のハーネスエンジニアリング
yoshitetsu
0
890
AWS Transform CustomでIaCコードを自由自在に変換しよう
duelist2020jp
0
220
アクセシビリティはすべての人のもの
tomokusaba
0
190
FessのAI検索モード:検索システムとLLMへの取り組み
marevol
0
150
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
200
Shipping AI Agents — Lessons from Production
vvatanabe
0
300
国内外の生成AIセキュリティの最新動向 & AIガードレール製品「chakoshi」のご紹介 / Latest Trends in Generative AI Security (Domestic & International) & Introduction to AI Guardrail Product "chakoshi"
nttcom
4
1.6k
20年前の「OSS革命」に学ぶ AI時代の生存戦略
samakada
0
510
Microsoft 365 / Microsoft 365 Copilot : 自分の状態を確認する「ラベル」について
taichinakamura
0
430
Choose your own adventure in agentic design patterns
glaforge
0
160
Modernizing Your HCL Connections Experience: Visual Report to chain, Profile Enhancements, and AI Integration
wannesrams
0
240
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
3k
Optimising Largest Contentful Paint
csswizardry
37
3.7k
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Dominate Local Search Results - an insider guide to GBP, reviews, and Local SEO
greggifford
PRO
0
160
Bash Introduction
62gerente
615
210k
What does AI have to do with Human Rights?
axbom
PRO
1
2.1k
How to build a perfect <img>
jonoalderson
1
5.4k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
170
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
200
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
2.9k
Jess Joyce - The Pitfalls of Following Frameworks
techseoconnect
PRO
1
140
We Are The Robots
honzajavorek
0
220
Transcript
ॳΊͯͷExpoΞϓϦݸਓ։ൃ
ࣗݾհ ࢁຊরٱ 4લͷஉ 3ϲ݄લͷ࣍உ tell_y_t JavaScriptҰےͰweb։ൃΛ࢝Ίͯ8ɻ ϑϦʔϥϯε7ʹ๏ਓΓͨ͠ ιϑτΣΞΤϯδχΞʢओʹwebΤϯδχΞʣ ͜͜ɺReactͷྲྀΕ͔ΒExpoͰͷ։ൃʹैࣄ ʢૉͷReact
Native/Android/iOSͷ։ൃܦྺͳ͠ʣ ͜ͷՆɺ2ਓͱͳΔ࣍உ͕ੜ ָ͠ΈͬͨڕΛͭ·Έʹඒຯ͍͓͠ञΛҿΉ͜ͱ
։ൃʹܞΘͬͨExpoΞϓϦͷհ גࣜձࣾInformetis ͷిྗηϯαʔ͓Αͼػث ਪఆٕज़Λ׆༻ͨ͠ΞϓϦʮienowaʯ ɾηϯαʔΛઃஔͨ͠ՈఉͷిྗσʔλΛӾཡ ɾిྗใͷ௨ ɾϢʔβʔใͷฤूɺ https://www.wantedly.com/portfolio/projects/53249 https://www.wantedly.com/projects/290993 https://www.energy-gateway.co.jp/news/2019/11/001.html
https://www.informetis.com/news/1277/ ؒɺienowaͷ։ൃνʔϜʹॴଐ ࣄͱͯ͠Expo։ൃͷݟΛੵΉ
͢༰ ࠓ7݄ʙࠓ·Ͱͷݸਓ։ൃͷ༷ࢠ ͜Ε͔Βݸਓ։ൃΛελʔτ͢ΔํͷࢀߟʹͳΕ͍Ͱ͢ React / Expo / ίϛϡχςΟͷԸܙ ΞϓϦͷத اըʙσβΠϯʙ։ൃʙϦϦʔε
ݱঢ়ใࠂ
τϨʔχϯά༻λΠϚʔΞϓϦ ઃఆͨ࣌ؒ͠Ͱ܁Γฦ͠Մೳ
։ൃͷ͖͔͚ͬ ཬؼΓग़࢈ظؒதɺूதͯ͠ࣄ͕ग़ དྷΔڥ͕ͳ͍ɻ ͡Ό͋ɺՈ͕৸͍ͯΔேΛ։ൃ࣌ؒ ʹ͠Α͏ɻ ʮ͕࣌ؒ͋ΕͰ͖ΔͷͶ ʯ ʮࣗΈͷτϨʔχϯά༻λΠϚʔΞϓϦ͕ແ͍ʯ ͳ͚Ε࡞Ε͍͍͡Όͳ͍͔ɻ όοΫΤϯυDB͍Βͳ͍͠ɺ
ωλతʹஸΑͦ͞͏ɻ Ճ͢ΔϦϞʔτϫʔΫͱӡಈෆɾɾɾ ࠊ௧ͷ৺ɻ ࠓޙͷٽ͖ʹ͑ΒΕͳ͍ͷͰɺͱ͍͏ڪාɻ ೄͼ։࢝ ൃҊ தʑ࣮ߦʹҠͤͳ͍ݸਓͰͷαʔϏε։ൃɾɾɾ ݴ͍༁ɿ #ϝΠϯ͕࣌ؒചΓͷՔ͗ํ͔ͩΒ #ࢥ͍ͭ͘αʔϏεͷن͕େ͖͍ #ࢠҭͯͰୣΘΕΔεΩϚ࣌ؒ ࣌ؒͷ֬อ
̍ͷ։ൃ࣌ؒ ཬؼΓग़࢈ظؒ : Total 3 h + ૣே̎࣌ؒʴЋ ͓ன৸λΠϜ̍࣌ؒʴЋ ฏ3ؒɺ
1࣌ؒʴЋ ٳ ͓ன৸λΠϜ̍࣌ؒʴЋ ग़࢈ޙ : Total 0 ~ 1 h +
։ൃͷલʹ ࡞Γ͍ͨͷʁ 📱 ઃఆͨ࣌ؒ͠ͱճͰ܁Γฦ͠ՄೳͳτϨʔχϯά༻λΠϚʔΞϓϦ ϞνϕʔγϣϯɾඪΛܾΊΑ͏ طଘΞϓϦ͔ΒͷֶͼͱࠩผԽΛ͠Α͏ ࢀߟʹ͍͍ͤͯͨͩͨ͞ΞϓϦ X Round Workout
ֶͼͷ͋ΔऔΓΈํ ݟΛ׆༻ͨ͠গͳ͍Ͱͷ։ൃ ࣗΈͷػೳ ࢹೝੑͷྑ͍λΠϚʔσβΠϯ γϯϓϧͳUI ϦϦʔε༏ઌ
ϓϩδΣΫτελʔτ
ۤखͳσβΠϯͱͷઓ͍ < σβΠϯ࣌ؒ ίʔσΟϯά࣌ؒ
σβΠϯ࣮ݱͷٹ͍ ίϯϙʔωϯτϥΠϒϥϦɻUIύʔπσβΠϯͱ ࣮ʹࠔͬͨͱ͖ʹɻ ఆ൪φϏήʔγϣϯϥΠϒϥϦɻૉૣ͘φϏήʔ γϣϯΛಋೖɻΞχϝʔγϣϯαϙʔτɻ ΞχϝʔγϣϯϥΠϒϥϦɻओཁػೳ͕UIͷग़དྷ ӫ͑ʹࠨӈ͞ΕΔ߹ͷڧ͍ຯํɻ άϥσʔγϣϯViewϥΠϒϥϦɻσβΠϯೳྗ͕ ͳͯ͘ɺ͜Ε͑͋͞ΕΓΕΔɻ NativeBase
React Navigation React Native Reanimated expo-linear-gradient
NativeBase खܰʹಋೖ ͨͩ͠ૉͷReact Native͔Βఏڙ͞ΕΔ ίϯϙʔωϯτͰेͳ߹͋Γɻ
React Navigation (Stack | Drawer | Bottom | Top) NavigatorΛఏڙ
ࡉ͔ͳΧελϚΠζՄೳ͕ͩɺͻͱ· ͣγϯϓϧʹಋೖ͢Δ͜ͱΛ͓͢͢Ί
React Native Reanimated υΩϡϝϯτͰհ͞ΕΔϢʔεέʔεҎ֎ Ͱಠࣗੑͷߴ͍͍ํΛ͢Δ߹ҙ JavaScript thread or UI thread
?
react-native-reanimated x expo-linear-gradient
ঢ়ଶཧͱӬଓԽ 1िؒ୯ҐͰཤྺΛදࣔɻԼ͔Β݄༵ʙ༵ https://docs.pmnd.rs/jotai/guides/persistence#a-helper-function-with-async-storage-and-json-parse Jōtai + Async Storage ࣮ ͪΐͬͱνϟϨϯδ ʮτϨʔχϯάཤྺΛ୯ҐͰӾཡͰ͖Δ͜ͱʯ
τϨʔχϯάϝχϡʔɺཤྺɺઃఆ༰ΛͲ͏͔ͨ͠
ܙΈʹײँ ݱࡏͷpackage.json
https://twitter.com/reactfanjp https://twitter.com/reactnativejp Jōtai࡞ऀͷ @dai_shi ͞Μ͕ӡӦ͢Δ ʮReact Fanʯ https://discord.com/invite/MrQdmzd ΈΜͳେ͖ ʮReact
Native Japanʯ
ϦϦʔε ͍ͭਏ͍ͷ։ൃҎ֎ͷ࡞ۀ 📚 ετΞొͷͨΊͷखଓ͖ 📚 ৹ࠪఏग़ͷͨΊͷ४උ 🖋 ΞϓϦઆ໌จͷ༻ҙ 🖋 ϓϥΠόγʔϙϦγʔͷ༻ҙ
🖋 ετΞ༻εΫγϣͳͲը૾ͷ༻ҙ 🔖 ϦϦʔε༏ઌͷͨΊɺGoogle AnalyticsAdMobಋೖޙճ͠ 🔖 ࡉ͔ͳσβΠϯमਖ਼վળܥ༏ઌ͘
݁ͼʹ ReactͷࣝˍExpoͰΞϓϦ։ൃΛૉૣ࣮͘ݱ ίϛϡχςΟͷॴଐͰෆ҆ཁૉΛഉআ ։ൃҎ֎ͷϋʔυϧҰܦݧͯࣗ͠৴ʹɻָ͘͠։ൃ͠Α͏ expo-linear-gradientʢάϥσʔγϣϯʣٹ͍
͝ײ͓͓ͪͯ͠Γ·͢ tell_y_t