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
950
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
860
ca.swift_10.pdf
kyoheig3
0
600
iosdc_2018.pdf
kyoheig3
2
2.5k
orecon_vol1.pdf
kyoheig3
4
1.5k
iosdc_2017.pdf
kyoheig3
4
810
ca.swift_2.pdf
kyoheig3
9
1.2k
ca.swift.pdf
kyoheig3
1
2k
protocol_buffers.pdf
kyoheig3
6
6.4k
abema_devcon.pdf
kyoheig3
8
7k
Other Decks in Programming
See All in Programming
CSC307 Lecture 09
javiergs
PRO
1
500
Webエディタライブラリ 「CodeMirror」から学ぶ Webアプリ開発のテクニック
ryosukeigarashi
0
250
Rust.Nagoya #1
codemountains
0
170
OpenAI/Gemini APIを使って EPUBを翻訳するCLIツールをつくってみた
tomiyan
0
790
[After Kotlin Fest 2024 LT Night @ Sansan] もっともっとKotlinを好きになる!K2 Compiler Pluginで遊んでみよう!
kitakkun
2
260
入社1ヶ月でここまでやった!Findy Toolsインフラ支援の最適化
rvirus0817
6
1.4k
【Go言語】ジェネリクス
tomo1227
0
170
CSC307 Lecture 07
javiergs
PRO
0
220
Exploring the Gradually Lost Technical Skills in the Cloud Native Era
hwchiu
2
3.9k
英語
s_shimotori
1
220
Trial
cairolibrary720
1
130
Composing an API the *right* way (Droidcon Berlin 2024)
zsmb
1
450
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
46
7k
Docker and Python
trallard
37
2.9k
Why Our Code Smells
bkeepers
PRO
332
56k
What the flash - Photography Introduction
edds
65
11k
Visualization
eitanlees
139
14k
GraphQLとの向き合い方2022年版
quramy
36
13k
YesSQL, Process and Tooling at Scale
rocio
166
14k
Debugging Ruby Performance
tmm1
71
11k
In The Pink: A Labor of Love
frogandcode
139
22k
Facilitating Awesome Meetings
lara
46
5.8k
Thoughts on Productivity
jonyablonski
64
4.1k
For a Future-Friendly Web
brad_frost
173
9.2k
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!