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
1
500
React初学者が知らない コンポーネント分割テクニック
We Are JavaScripters! @29th【初心者歓迎LT大会】
https://wajs.connpass.com/event/119722/
Tetsuya Negishi
February 21, 2019
Tweet
Share
More Decks by Tetsuya Negishi
See All by Tetsuya Negishi
SOLIDから考える良いコンポーネントの設計原則
tetsuyanegishi
1
1.5k
React Hooksで美しいコードを書く / Writing beautiful code using React Hooks
tetsuyanegishi
0
190
TypeScriptの型定義が JavaScriptのバグを駆逐する
tetsuyanegishi
3
940
AWS Amplifyで作るサーバーレスバックエンド
tetsuyanegishi
3
1.9k
リアルタイムデータベース Cloud Firestore入門
tetsuyanegishi
10
8.8k
ブロックチェーンのマイニングとはなにか
tetsuyanegishi
1
98
スクラム開発の手法と実例
tetsuyanegishi
0
240
Other Decks in Programming
See All in Programming
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
420
XP, Testing and ninja testing ZOZ5
m_seki
3
810
AI駆動で0→1をやって見えた光と伸びしろ
passion0102
1
780
釣り地図SNSにおける有料機能の実装
nokonoko1203
0
200
コードとあなたと私の距離 / The Distance Between Code, You, and I
hiro_y
0
190
AI Coding Meetup #3 - 導入セッション / ai-coding-meetup-3
izumin5210
0
3.4k
Pythonに漸進的に型をつける
nealle
1
120
モテるデスク環境
mozumasu
3
1.1k
フロントエンド開発のためのブラウザ組み込みAI入門
masashi
7
3.4k
エンジニアインターン「Treasure」とHonoの2年、そして未来へ / Our Journey with Hono Two Years at Treasure and Beyond
carta_engineering
0
410
なぜGoのジェネリクスはこの形なのか? - Featherweight Goが明かす設計の核心
qualiarts
0
240
なんでRustの環境構築してないのにRust製のツールが動くの? / Why Do Rust-Based Tools Run Without a Rust Environment?
ssssota
8
24k
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Designing for humans not robots
tammielis
254
26k
Balancing Empowerment & Direction
lara
5
700
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.5k
Typedesign – Prime Four
hannesfritz
42
2.8k
Building a Modern Day E-commerce SEO Strategy
aleyda
44
7.8k
Unsuck your backbone
ammeep
671
58k
Side Projects
sachag
455
43k
Music & Morning Musume
bryan
46
6.9k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
10
610
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
9
930
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) ٕज़ධࣾ