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
Kyohei Ito
December 21, 2020
Programming
1
1.1k
flutter_kmm_1.pdf
Kyohei Ito
December 21, 2020
Tweet
Share
More Decks by Kyohei Ito
See All by Kyohei Ito
layerx_20241129.pdf
kyoheig3
2
420
flutterkaigi_2024.pdf
kyoheig3
0
1k
flutter_kaigi_2021.pdf
kyoheig3
0
1.1k
ca.swift_10.pdf
kyoheig3
0
660
iosdc_2018.pdf
kyoheig3
2
2.9k
orecon_vol1.pdf
kyoheig3
4
1.7k
iosdc_2017.pdf
kyoheig3
4
880
ca.swift_2.pdf
kyoheig3
9
1.3k
ca.swift.pdf
kyoheig3
1
2.1k
Other Decks in Programming
See All in Programming
Ruby×iOSアプリ開発 ~共に歩んだエコシステムの物語~
temoki
0
270
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
440
Testing Trophyは叫ばない
toms74209200
0
870
HTMLの品質ってなんだっけ? “HTMLクライテリア”の設計と実践
unachang113
4
2.8k
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
240
為你自己學 Python - 冷知識篇
eddie
1
350
もうちょっといいRubyプロファイラを作りたい (2025)
osyoyu
1
430
テストコードはもう書かない:JetBrains AI Assistantに委ねる非同期処理のテスト自動設計・生成
makun
0
260
開発チーム・開発組織の設計改善スキルの向上
masuda220
PRO
20
11k
時間軸から考えるTerraformを使う理由と留意点
fufuhu
16
4.8k
Navigation 2 を 3 に移行する(予定)ためにやったこと
yokomii
0
180
RDoc meets YARD
okuramasafumi
4
170
Featured
See All Featured
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
139
34k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
53
2.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
Balancing Empowerment & Direction
lara
3
620
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
112
20k
Git: the NoSQL Database
bkeepers
PRO
431
66k
Docker and Python
trallard
45
3.6k
Why Our Code Smells
bkeepers
PRO
339
57k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
What's in a price? How to price your products and services
michaelherold
246
12k
Code Review Best Practice
trishagee
70
19k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
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!