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
zakkuri-redux
Search
tatsu
September 29, 2017
Technology
0
21
zakkuri-redux
brief explanation about redux
tatsu
September 29, 2017
Tweet
Share
Other Decks in Technology
See All in Technology
KubeCon + CloudNativeCon Japan 2025 Recap
ren510dev
1
350
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
280
PHPでWebブラウザのレンダリングエンジンを実装する
dip_tech
PRO
0
220
タイミーのデータモデリング事例と今後のチャレンジ
ttccddtoki
6
2.2k
論文紹介:LLMDet (CVPR2025 Highlight)
tattaka
0
290
「Chatwork」の認証基盤の移行とログ活用によるプロダクト改善
kubell_hr
1
240
Tech-Verse 2025 Global CTO Session
lycorptech_jp
PRO
0
1.5k
開発生産性を組織全体の「生産性」へ! 部門間連携の壁を越える実践的ステップ
sudo5in5k
1
5.2k
KiCadでPad on Viaの基板作ってみた
iotengineer22
0
270
敢えて生成AIを使わないマネジメント業務
kzkmaeda
0
170
KubeCon + CloudNativeCon Japan 2025 に行ってきた! & containerd の新機能紹介
honahuku
0
120
生成AIで小説を書くためにプロンプトの制約や原則について学ぶ / prompt-engineering-for-ai-fiction
nwiizo
6
4k
Featured
See All Featured
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.3k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Producing Creativity
orderedlist
PRO
346
40k
Building Better People: How to give real-time feedback that sticks.
wjessup
367
19k
Done Done
chrislema
184
16k
Balancing Empowerment & Direction
lara
1
400
The Invisible Side of Design
smashingmag
301
51k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Facilitating Awesome Meetings
lara
54
6.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
26k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Transcript
Redux(ઙ) ΤεΩϡʔϏζϜٕࣾज़LT tatsu
͜Εʹؔͯ͠ޠΒͶͳΓ·͢·͍ Redux stateΛཧ͢ΔϑϨʔϜϫʔΫ react onlyͱݶΒͳ͍…ͱ͍͑reactͱηοτͰ༻͞ΕΔ͜ͱ͕ଟ͍Β͍͠ state?
ReduxͷϑϧΥʔ(Flow) store view action creator reducer ViewͷೖྗͳͲ͔ΒActionCreator͕ActionΛ࡞ɻ ࡞͞ΕͨActionΛStoreDispatch͠มߋΛ͑Δɻ StoreݱStateͱActionΛReducerʹ͠ɺ ฦ͖ͬͯͨ৽StateΛอ࣋͢Δɻ
ͦͯ͠Stateͷߋ৽ʹΑͬͯΠϕϯτ͕ΓViewͷߋ৽ͳͲ͕͞ΕΔɻ …͍ʁ
ϝϯόʔΛհ͢Δͥᾇ ~THE γϯϓϧγϦʔζ~ Action Creator ActionΛ࡞͢Δ Action ಈ࡞Λ࣋ͬͨΦϒδΣΫτ
ϝϯόʔΛհ͢Δͥᾈ Store StateΛҰݩཧ ԼهͷͷΛอ࣋orఏڙ State ΞϓϦέʔγϣϯͷঢ়ଶɻϑΥʔϜͷλϒͷબঢ়ଶͳͲɻ Dispatch StoreʹAction(͍ͨ͠ࣄ)Λ͑Δ Reducer ड͚औͬͨActionͱݱState͔Βɺͨͩ৽͍͠StateΛฦ͢
࠶ɿReduxͷϑϧΥʔ(Flow) store view action creator reducer ViewͷೖྗͳͲ͔ΒActionCreator͕ActionΛ࡞ɻ ࡞͞ΕͨActionΛStoreDispatch͠มߋΛ͑Δɻ StoreݱStateͱActionΛReducerʹ͠ɺ ฦ͖ͬͯͨ৽StateΛอ࣋͢Δɻ
ͦͯ͠Stateͷߋ৽ʹΑͬͯΠϕϯτ͕ΓViewͷߋ৽ͳͲ͕͞ΕΔɻ ҊͣΔΑΓ࢈Ή͕қ͠ʂ
༨ஊ mobxɹstateΛཧ͢ΔϑϨʔϜϫʔΫ https://qiita.com/Takepepe/items/8172333655442314eb55 react-navigationɹϧʔςΟϯάϥΠϒϥϦ https://reactnavigation.org/ formicɹϑΥʔϜͷϥΠϒϥϦ https://github.com/jamiecopeland/react-formic mobx+react-navigation http://www.workabroad.jp/posts/2206