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
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Tetsuya Negishi
February 21, 2019
Programming
500
1
Share
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
200
TypeScriptの型定義が JavaScriptのバグを駆逐する
tetsuyanegishi
3
960
AWS Amplifyで作るサーバーレスバックエンド
tetsuyanegishi
3
2k
リアルタイムデータベース Cloud Firestore入門
tetsuyanegishi
10
9k
ブロックチェーンのマイニングとはなにか
tetsuyanegishi
1
110
スクラム開発の手法と実例
tetsuyanegishi
0
260
Other Decks in Programming
See All in Programming
Technical Debt: Understanding it Rightly, Engaging it Rightly #LaravelLiveJP
shogogg
0
180
Moments When Things Go Wrong
aurimas
3
130
tsserverとは何だったのか、これからどうなるのか
nowaki28
1
420
These Five Tricks Can Make Your Apps Greener, Cheaper, & Nicer
hollycummins
0
250
OCRを使ってゲームのアイテムをデータ化する
kishikawakatsumi
0
120
jQueryをバージョンアップする前に使いたいjQuery Migrate
matsuo_atsushi
0
130
Transactional Change Stream Processing With Debezium and Apache Flink
gunnarmorling
1
140
OSもどきOS
arkw
0
330
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
190
oxlintはeslint/typescript-eslintを置き換えられるのか
shomafujita
2
290
[KCD Czech] eBPF Meets the GPU: Future of AI Infra Observability
doniacld
0
130
次世代リンターで探る、tsgo 時代における型認識カスタムルールの現実解
ytakahashii
3
1.3k
Featured
See All Featured
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
280
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
380
Ten Tips & Tricks for a 🌱 transition
stuffmc
0
120
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
550
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
540
Joys of Absence: A Defence of Solitary Play
codingconduct
1
380
Building a Scalable Design System with Sketch
lauravandoore
463
34k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
320
エンジニアに許された特別な時間の終わり
watany
107
240k
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
350
Documentation Writing (for coders)
carmenintech
77
5.4k
The Curse of the Amulet
leimatthew05
1
13k
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) ٕज़ධࣾ