Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Storybook: dev, design, debug and document your...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Marie-Laure Thuret
September 29, 2017
Programming
1.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Storybook: dev, design, debug and document your UI components
Marie-Laure Thuret
September 29, 2017
More Decks by Marie-Laure Thuret
See All by Marie-Laure Thuret
JGiven, enfin une réelle documentation vivante
mlthuret
1
1k
La simplicité comme moyen d'être performant, résilient et de réduire le Time To Market.
mlthuret
0
120
Pièges et difficultés du BDD : comment les résoudre ?
mlthuret
1
380
Other Decks in Programming
See All in Programming
Event is what happens
moro
2
480
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
740
Are APIs Still Relevant in the AI Era?
soyuka
0
460
re:Inventに行く前に知っておきたい現地参加のノウハウ
nokomoro3
0
410
Railsのためのパスキー実践入門 〜マルチテナントSaaSでの意思決定〜
utakaha
0
190
ChromeでローカルLLM
ryu1013
0
130
ActionController meets Protocol Buffers
sorah
0
290
現場と育てるRailsモデリング 〜Spreadsheetから始めたモデル設計〜
siroemk
2
400
KiroのSpecで「五目並べ」を作ってみる
satoshi256kbyte
1
370
golang-bob.pdf
iwatsukayura
0
130
ハーネス設計入門 〜 基礎知識の整理から実務へのステップアップ 〜
kinopeee
22
22k
カツオ、ご期待ください
suneo3476
0
180
Featured
See All Featured
How to Talk to Developers About Accessibility
jct
2
570
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
470
The Limits of Empathy - UXLibs8
cassininazir
2
720
Why Your Marketing Sucks and What You Can Do About It - Sophie Logan
marketingsoph
0
430
ラッコキーワード サービス紹介資料
rakko
1
5.3M
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.9k
Measuring Dark Social's Impact On Conversion and Attribution
stephenakadiri
2
310
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
490
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
460
Leo the Paperboy
mayatellez
10
2.4k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.3k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
September 2017 Storybook: Design, Develop, Document and Debug your React
UI components Marie-Laure Thuret
Thanks to our sponsors!
MARIE-LAURE THURET Developer at @mlthuret
@mlthuret A UI component often relies on several states
@mlthuret A simple pagination component
@mlthuret currentPage pagePadding showNext showPrevious showLast numberOfPages showFirst A simple
pagination component
@mlthuret expect buttons to be disabled currentPage = 1 currentPage
= 6 and nbPages = 6 A simple pagination component
@mlthuret How do we make sure they are ? well
documented
@mlthuret isolated environment to quickly develop and design your components
thanks to hot reloading
@mlthuret Muhammed Thanish https://github.com/storybooks/ Arunoda Susiripala
@mlthuret Introducing a new maintainers team
@mlthuret Design Develop Document Debug Discuss Development Lifecycle
@mlthuret Getting Started Easy to install Ready for iterating quickly
$getStorybook
@mlthuret Storybook interface
@mlthuret List of the stories Storybook interface
@mlthuret Storybook interface Stories kind List of the stories
@mlthuret Stories Stories kind List of the stories Storybook interface
@mlthuret Actions and add- on panels Storybook interface
@mlthuret Component view Storybook interface
@mlthuret Demo
@mlthuret API First
@mlthuret Create live documentation
@mlthuret Create live documentation Document style and behaviour
@mlthuret How can I use a component? Create live documentation
@mlthuret Examples
@mlthuret How do we make sure the documentation ? never
breaks
@mlthuret We need to add tests
@mlthuret Testing markup through snapshot testing Storyshots
@mlthuret Tests are your application’s specifications
@mlthuret Explicit behaviour by adding tests next to your stories
Specs add-on
@mlthuret Tests are failing if differences are spotted between two
components pictures Visual regression testing
@mlthuret Visual regression testing
@mlthuret Visual regression testing
@mlthuret Demo
@mlthuret what about maintenance ?
@mlthuret Debug and enhance Small environment to debug efficiently Entry
point to start when adding a new feature
@mlthuret Communicate with others
@mlthuret Communicate with others When submitting a Pull Request
@mlthuret When opening issues Communicate with others
@mlthuret When an external contributor fixes a bug Communicate with
others
@mlthuret Design Develop Document Debug Discuss Iterate quickly Live documentation
Add specifications through tests Create a styleguide Share stories Entry points Isolated environment Hot reloading Expose props Isolate bugs Storybook contribution during the developer journey
@mlthuret Why adopt Storybook ?
@mlthuret Universal Storybook
@mlthuret Universal Storybook ReactJS React Native VueJS Angular
@mlthuret Demo
@mlthuret It’s up to you to create what’s missing The
add-on API
@mlthuret Add-ons from the community And a lot of others…
Material-UI Readme Background Internationalisation Specs
@mlthuret Roadmap Playground add-on Theming ability Add-on API refactoring See
multiple stories in 1 preview Responsive and multi-device viewports preview Automatic story detection
Thanks! MARIE-LAURE THURET Developer at @mlthuret