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
990
flutter_kmm_1.pdf
Kyohei Ito
December 21, 2020
Tweet
Share
More Decks by Kyohei Ito
See All by Kyohei Ito
flutter_kaigi_2021.pdf
kyoheig3
0
920
ca.swift_10.pdf
kyoheig3
0
610
iosdc_2018.pdf
kyoheig3
2
2.6k
orecon_vol1.pdf
kyoheig3
4
1.5k
iosdc_2017.pdf
kyoheig3
4
830
ca.swift_2.pdf
kyoheig3
9
1.2k
ca.swift.pdf
kyoheig3
1
2k
protocol_buffers.pdf
kyoheig3
6
6.5k
abema_devcon.pdf
kyoheig3
8
7.1k
Other Decks in Programming
See All in Programming
Synchronizationを支える技術
s_shimotori
1
140
Importmapを使ったJavaScriptの 読み込みとブラウザアドオンの影響
swamp09
3
1.2k
VR HMDとしてのVision Pro+ゲーム開発について
yasei_no_otoko
0
100
From Subtype Polymorphism To Typeclass-based Ad hoc Polymorphism- An Example
philipschwarz
PRO
0
110
Dev ContainersとGitHub Codespacesの素敵な関係
ymd65536
1
120
Vertical Architectures for Scalable Angular Applications
manfredsteyer
PRO
0
290
テスト駆動開発✅️
akitoshiga
1
210
The future of development – Are our jobs getting harder or easier?
hollycummins
1
240
CSC305 Lecture 13
javiergs
PRO
0
120
Golang と Erlang
taiyow
8
1.8k
僕がつくった48個のWebサービス達
yusukebe
17
16k
色々なIaCツールを実際に触って比較してみる
iriikeita
0
130
Featured
See All Featured
Statistics for Hackers
jakevdp
796
220k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
404
65k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
770
Testing 201, or: Great Expectations
jmmastey
38
7k
Building a Scalable Design System with Sketch
lauravandoore
459
33k
How STYLIGHT went responsive
nonsquared
95
5.1k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
27
1.9k
Optimizing for Happiness
mojombo
376
69k
For a Future-Friendly Web
brad_frost
174
9.4k
Designing for Performance
lara
604
68k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
3
360
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!