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
UIの情報構造に合わせたReact Componentを作る UI Structureパターン
Search
Tomohito Yamanaka
October 27, 2023
73
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
UIの情報構造に合わせたReact Componentを作る UI Structureパターン
Tomohito Yamanaka
October 27, 2023
More Decks by Tomohito Yamanaka
See All by Tomohito Yamanaka
生産性を上げる考え方
intomyam
0
230
create unreadable_code unless carelessness !always
intomyam
1
740
Wantedly Visit's Account Table Design
intomyam
0
560
Featured
See All Featured
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.6k
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
180
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
220
Odyssey Design
rkendrick25
PRO
2
730
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.4k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
220
How to train your dragon (web standard)
notwaldorf
97
6.7k
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
2
340
Believing is Seeing
oripsolob
1
170
Making the Leap to Tech Lead
cromwellryan
135
10k
Chasing Engaging Ingredients in Design
codingconduct
0
240
Transcript
6*ͷใߏʹ߹Θͤͨ3$Λ࡞Δ 6*4USVDUVSFύλʔϯ Oct 26, 2023 - Tomohito Yamanaka
5PNPIJUP:BNBOBLB 1SFTFOUFS @intomyam @intomyam
6*4USVDUVSFύλʔϯ ྫ"SUJDMF ྫ"SUJDMFT
UI Structure ύλʔϯ
UI Structure ύλʔϯ $PNQPOFOU ʮ6*ཁૉΛදݱͨ͠ͷʯ
UI Structure ύλʔϯ 1. DataΛදݱ͢Δ 2. DataΛૢ࡞͢Δ 3. Ϣʔβૢ࡞ʹΑͬͯঢ়ଶΛม͑Δ Componentͷ
1. ͨͩͻͱͭͷData 2. DataΛૢ࡞͢Δhandler (onCreate, onUpdate, onDelete) 3. ঢ়ଶมԽʹͱͳ͏handler (onActive, onOpen, onClose) Componentͷpropsͷछྨ
ྫ: Article
ྫ: Article ͜ͷComponentͷ࣮Λߟ͑Δ
ྫ: Article ߏతʹ͜͏
ྫ: Article Component໊ͱData໊Ұகͤ͞Δ
ྫ: Article SupplementʹϒοΫϚʔΫϘλϯ͕͋Δ → article.id͕ඞཁ
ྫ: Article Supplementʹͣ͞ ContextΛ͏
ྫ: Articles
ྫ: Articles ͜ͷComponentͷ࣮Λߟ͑Δ
ྫ: Articles
ྫ: Articles Article͕ArticleͷฤूػೳΛ࣋ͬͨΒʁ
ྫ: Articles
ྫ: Articles onUpdateΛΧϦʔԽͯ͠ɺ ࢠComponentͷonUpdateʹ͢
σΟϨΫτϦߏͱ1SPQT͕ γϯϓϧͰݟ௨͕͠ྑ͘ͳΔ