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
React初学者が知らない コンポーネント分割テクニック
Search
Tetsuya Negishi
February 21, 2019
Programming
510
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
React初学者が知らない コンポーネント分割テクニック
We Are JavaScripters! @29th【初心者歓迎LT大会】
https://wajs.connpass.com/event/119722/
Tetsuya Negishi
February 21, 2019
More Decks by Tetsuya Negishi
See All by Tetsuya Negishi
SOLIDから考える良いコンポーネントの設計原則
tetsuyanegishi
1
1.6k
React Hooksで美しいコードを書く / Writing beautiful code using React Hooks
tetsuyanegishi
0
210
TypeScriptの型定義が JavaScriptのバグを駆逐する
tetsuyanegishi
3
970
AWS Amplifyで作るサーバーレスバックエンド
tetsuyanegishi
3
2.1k
リアルタイムデータベース Cloud Firestore入門
tetsuyanegishi
10
9k
ブロックチェーンのマイニングとはなにか
tetsuyanegishi
1
110
スクラム開発の手法と実例
tetsuyanegishi
0
270
Other Decks in Programming
See All in Programming
これからAgentCoreを触る方へトレンドはGatewayです
har1101
6
490
1B+ /day規模のログを管理する技術
broadleaf
0
130
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
580
symfony/aiとlaravel/boost
77web
0
120
act1-costs.pdf
sumedhbala
0
210
Honoでのサプライチェーン侵害対策 〜 3つのライブラリに学ぶ
yusukebe
7
1.8k
AI時代、エンジニアはどう育つのか -未経験エンジニアの成長を間近で見て考えたこと-
thasu0123
0
110
過去最大のMCPアップデート! 2026-07-28 RC版の謎に迫る
licux
6
460
AI 輔助遺留系統現代化的經驗分享
jame2408
1
1.2k
気圧・高度・GPSを記録&可視化するアプリ「Koudo」を作った話
hjmkth
1
350
act2-costs.pdf
sumedhbala
0
110
地域 SRE コミュニティ最前線 - ホンマでっかSRE勉強会
tk3fftk
0
220
Featured
See All Featured
AI Search: Where Are We & What Can We Do About It?
aleyda
0
7.7k
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
Code Review Best Practice
trishagee
74
20k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
230
Tell your own story through comics
letsgokoyo
1
990
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.3k
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
210
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
1
220
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
190
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
460
Transcript
Reactॳֶऀ͕Βͳ͍ ίϯϙʔωϯτׂςΫχοΫ ࠜ؛ప
ࣗݾհ • ࠜ؛ప • ϥϯαʔζגࣜձࣾ • ৽نࣄۀ • ओʹϑϩϯτ·ΘΓ୲ •
ڵຯؔ৺ • React, Vue.js, TypeScript • αʔόʔϨε
Reactίϯϙʔωϯτͱ
Reactίϯϙʔωϯτͱ • HTMLͷಠࣗλάͷΑ͏ʹ͑Δύʔπ • σβΠϯಈ࡞ΛΧϓηϧԽ
͚ͩͲഁ͍͢͠
ഁͨ͠ίϯϙʔωϯτ
ഁͨ͠ίϯϙʔωϯτ
ഁͨ͠ίϯϙʔωϯτ
ഁͨ͠ίϯϙʔωϯτ
͋ͬͱ͍͏ؒʹഁ
ίϯϙʔωϯτΛ࡞Δͱ͖ʹҙ͍ࣝͯ͠Δ͜ͱ • ڞ௨ԽͰ͖Δͱ͜ΖΛݟམͱ͞ͳ͍ • ͨͱ͑ϨΠΞτɼϚεϗόʔ࣌ͷಈ࡞, ΫϦοΫ࣌ͷಈ࡞ • ίϯϙʔωϯτʹ֊ΛͨͤΔ • ׂෆՄೳͳ࠷খݶͷ୯Ґ(Atom)
• ࠶ར༻ՄೳͰػೳ͕ݻఆԽ͠ͳ͍୯Ґ(Molecule) • ػೳ͕ݻఆԽ͞Εͨ୯Ґ(Organism) • ґଘੑΛແ࣮ͨ͘͠
None
ׂෆՄೳͳ࠷খݶͷ୯Ґ(Atom)ʹׂ
ׂෆՄೳͳ࠷খݶͷ୯Ґ(Atom)ʹׂ
ׂෆՄೳͳ࠷খݶͷ୯Ґ(Atom)ʹׂ
ػೳ͕ݻఆԽ͠ͳ͍୯Ґ(Molecule)ʹׂ
MoleculeʹׂͰ͖Δͱ͜Ζߟ͑Δ
ػೳ͕ݻఆԽ͠ͳ͍୯Ґ(Molecule)ʹׂ
ػೳ͕ݻఆԽ͠ͳ͍୯Ґ(Molecule)ʹׂ
ػೳ͕ݻఆԽ͞Εͨ୯Ґ(Organism)ʹׂ
ίϯϙʔωϯτΛ࡞Δͱ͖ʹҙ͍ࣝͯ͠Δ͜ͱ • ڞ௨ԽͰ͖Δͱ͜ΖΛݟམͱ͞ͳ͍ • ͨͱ͑ϨΠΞτɼϚεϗόʔ࣌ͷಈ࡞, ΫϦοΫ࣌ͷಈ࡞ • ίϯϙʔωϯτʹ֊ΛͨͤΔ • ׂෆՄೳͳ࠷খݶͷ୯Ґ
• ࠶ར༻ՄೳͰػೳ͕ݻఆԽ͠ͳ͍୯Ґ • ػೳ͕ݻఆԽ͞Εͨ୯Ґ • ґଘੑΛແ࣮ͨ͘͠
Thank you!
ࢀߟॻ੶ • Atomic Design ݎ࿚Ͱ͍͍͢UIΛޮྑ͘ઃܭ͢Δ ޒ౻༎య(2018) ٕज़ධࣾ