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
Storybook X Styleguidist
Search
Buzzvil
January 02, 2019
480
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Storybook X Styleguidist
Buzzvil
January 02, 2019
More Decks by Buzzvil
See All by Buzzvil
220903_GFS
buzzvil
0
670
Git 해부하기 2 + 3
buzzvil
0
76
Metastable Failure
buzzvil
0
390
Git 해부하기
buzzvil
0
96
Introduction to Plate Solving
buzzvil
0
87
Airbnb Minerva
buzzvil
0
560
Shape up 방법론
buzzvil
0
1.1k
Buzzvil Billing Data Pipeline
buzzvil
0
740
Journey of Dash's release-cycle
buzzvil
0
300
Featured
See All Featured
Building an army of robots
kneath
306
46k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
250
Designing Powerful Visuals for Engaging Learning
tmiket
1
500
Believing is Seeing
oripsolob
1
190
The SEO Collaboration Effect
kristinabergwall1
1
520
Odyssey Design
rkendrick25
PRO
2
770
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
Building Experiences: Design Systems, User Experience, and Full Site Editing
marktimemedia
0
580
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
2
3.8k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
420
sira's awesome portfolio website redesign presentation
elsirapls
0
330
Transcript
Storybook Styleguidist X With Component Driven Development — Phil Lee
—
Index I. Mordern Web Front-End II. Challenges III. Storybook IV.
Styleguidist V. Wrap Up
— Special thanks to Liam
Modern Web FrontEnd
• Get data from Database • Generate HTML by data
• Send it • Get HTML file • Reder Traditional Web App
• Get data from Database • Send it • Get
data • Generate HTML • Render Mordern Web App
None
None
BOOM!!
None
I’ll quit this shit…
Component
None
Container (state, logic) Presenter (stateless) Root Container Presenter Presenter Presenter
Presenter Presenter Container Presenter props props props How Components Works
How Components Works Flux Architecture
None
Happy now?
NOPE
Challenges
Component Independent Reusable
None
Document Independent Reusable State Dependency Combined Components Routing Nullable Component
Hard to understand Component dependencies
“We can’t focus on UI.”
Container (state, logic) Presenter (stateless) Root Container Presenter Presenter Presenter
Presenter Presenter Container Presenter props props props How Components Works
Normalize Presenter Presenter Presenter Presenter Presenter Presenter Presenter Presenter Presenter
Presenter Presenter Presenter
Inject state Fake state Presenter Presenter Presenter Presenter Presenter Presenter
Fake state Fake state Fake state Fake state Fake state
“How?”
The UI Development Environment
Storybook • Build & Test components • Mature ecosystem(addons) •
Support isolated environment without application’s requirements
Live
Living Document For UI
Styleguidist • Simplifies creating and maintaining a UI documentation
• Support isolated environment without application’s requirements
Live
WRAP UP
Why we should use it • Tool for UI components
• De-facto standard • Communication for product team (Design, PM) • Prevent design/planning specification error • Easy (without configuration…)
Which one is the best? • It depends on your
preference • Almost same, but slightly different • Storybook as workshop, Styleguidist as storefront
— End
https://storybook.js.org References https://www.youtube.com/watch?v=jc9xKzdkYDg https://hyunseob.github.io/2018/01/08/storybook-beginners-guide/ https://www.vobour.com/ܻঘ-झషܻ࠘-react-storybook-ਸ-ాೠ-ஹನք-ѐ ߊҗ-ഝਊ-ߑߨ-1 https://blog.hichroma.com/storybook-vs-styleguidist-2bd93d6dcc06 https://vue-styleguidist.github.io/