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
flutter_kmm_1.pdf
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Kyohei Ito
December 21, 2020
Programming
1.2k
1
Share
flutter_kmm_1.pdf
Kyohei Ito
December 21, 2020
More Decks by Kyohei Ito
See All by Kyohei Ito
flutter_kaigi_2025.pdf
kyoheig3
2
930
layerx_20241129.pdf
kyoheig3
2
490
flutterkaigi_2024.pdf
kyoheig3
0
1.5k
flutter_kaigi_2021.pdf
kyoheig3
0
1.1k
ca.swift_10.pdf
kyoheig3
0
700
iosdc_2018.pdf
kyoheig3
2
3.1k
orecon_vol1.pdf
kyoheig3
4
1.7k
iosdc_2017.pdf
kyoheig3
4
920
ca.swift_2.pdf
kyoheig3
9
1.4k
Other Decks in Programming
See All in Programming
Strategy for Finding a Problem for OSS: With Real Examples
kibitan
0
140
Xdebug と IDE による デバッグ実行の仕組みを見る / Exploring-How-Debugging-Works-with-Xdebug-and-an-IDE
shin1x1
0
350
我々はなぜ「層」を分けるのか〜「関心の分離」と「抽象化」で手に入れる変更に強いシンプルな設計〜 #phperkaigi / PHPerKaigi 2026
shogogg
2
830
今からFlash開発できるわけないじゃん、ムリムリ! (※ムリじゃなかった!?)
arkw
0
190
ファインチューニングせずメインコンペを解く方法
pokutuna
0
270
年間50登壇、単著出版、雑誌寄稿、Podcast出演、YouTube、CM、カンファレンス主催……全部やってみたので面白さ等を比較してみよう / I’ve tried them all, so let’s compare how interesting they are.
nrslib
4
720
事業会社でのセキュリティ長期インターンについて
masachikaura
0
230
瑠璃の宝石に学ぶ技術の声の聴き方 / 【劇場版】アニメから得た学びを発表会2026 #エンジニアニメ
mazrean
0
180
PHPで TLSのプロトコルを実装してみる
higaki_program
0
740
Kubernetes上でAgentを動かすための最新動向と押さえるべき概念まとめ
sotamaki0421
3
440
YJITとZJITにはイカなる違いがあるのか?
nakiym
0
110
PHP でエミュレータを自作して Ubuntu を動かそう
m3m0r7
PRO
2
170
Featured
See All Featured
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.3k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
2
1k
The Limits of Empathy - UXLibs8
cassininazir
1
290
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
170
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
300
Tell your own story through comics
letsgokoyo
1
890
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
210
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
1k
Amusing Abliteration
ianozsvald
1
150
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Transcript
ಡղ Flutter Hooks Flutter × Kotlin Multiplatform #1 2020/12/21
About Me ҏ౻ɹګฏ Github : KyoheiG3 Twitter : @KyoheiG3
Hooksͷ͍ํ ← Γ·ͤΜ
Hooksͷಈ͖Λཧղ͢Δ ← ඪ ※ίʔυଟΊͰ͢
What is Hooks?
What is Hooks? • ͱͱReactJSͷ16.8(2019/2Ҏ߱)ʹՃ͞Εͨػೳ • Remi Rousselet͞Μ͕2018/12ʹinitial commit
Why Hooks?
None
None
Why Hooks? • ঢ়ଶͷཧͳͲΛclassΛΘͣʹ୯ମͰߦ͏͜ͱ͕Ͱ͖Δ Α͏ʹͳΔ
Flutter?
None
None
Why Hooks? • ঢ়ଶͷཧͳͲΛStatefulWidgetΛΘͣʹ୯ମͰߦ͏͜ ͱ͕Ͱ͖ΔΑ͏ʹͳΔ
Principle
None
Code Reading
HookWidget & HookElement
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
None
Hook & HookState
None
None
None
None
None
Existing hooks
https://github.com/rrousselGit/flutter_hooks#existing-hooks
Custom Hook
Custom Hook • class • function
None
None
None
None
None
None
Rules
None
None
About hot-reload
None
None
None
Thanks!