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
0
450
Storybook X Styleguidist
Buzzvil
January 02, 2019
Tweet
Share
More Decks by Buzzvil
See All by Buzzvil
220903_GFS
buzzvil
0
550
Git 해부하기 2 + 3
buzzvil
0
53
Metastable Failure
buzzvil
0
280
Git 해부하기
buzzvil
0
66
Introduction to Plate Solving
buzzvil
0
56
Airbnb Minerva
buzzvil
0
420
Shape up 방법론
buzzvil
0
1k
Buzzvil Billing Data Pipeline
buzzvil
0
640
Journey of Dash's release-cycle
buzzvil
0
210
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
190
Marketing to machines
jonoalderson
1
4.6k
Stop Working from a Prison Cell
hatefulcrawdad
273
21k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.5k
How to build a perfect <img>
jonoalderson
1
4.9k
[RailsConf 2023] Rails as a piece of cake
palkan
59
6.3k
The World Runs on Bad Software
bkeepers
PRO
72
12k
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
420
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.1k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.2k
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
2.9k
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/