Emma Britnor

Leveraging Storybook for Component Driven Development outside of your classic Component Library.

How can you combine visual documentation, interaction simulation, and unit testing all in the same file? Learn how to unify your component workflow with Storybook.

Leveraging Storybook for Component Driven Development outside of your classic Component Library.
#1about 2 minutes

Addressing the challenges of scaling large web applications

Large applications often suffer from duplicated work and hard-to-reuse components, which component-driven development helps to solve.

#2about 5 minutes

Best practices for designing flexible and reusable component APIs

Adopt principles like single responsibility, composition, and render props to create modular and maintainable component APIs from the start.

#3about 6 minutes

Getting started with Storybook for isolated component development

Use Storybook to build UI components in isolation, write stories to document different states, and get auto-generated documentation.

#4about 2 minutes

Handling complex components with state and API calls

Replicate complex component behaviors in Storybook by mocking API calls with MSW and managing global state with decorators.

#5about 3 minutes

Integrating user interactions and Figma designs into Storybook

Use the play method to script user interactions within stories and integrate Figma designs directly for better design-to-code consistency.

#6about 2 minutes

Leveraging stories for UI and visual regression testing

Import stories directly into React Testing Library for UI-driven testing and use Chromatic for automated visual regression testing.

#7about 2 minutes

Using Storybook to build and maintain shared libraries

Well-documented components in Storybook make it easier to identify reusable patterns and extract them into a shared component library.

Related jobs
Jobs that call for the skills explored in this talk.

Featured Partners

Related Articles

View all articles
BR
Benjamin Ruschin
What Developers Really Need to Create Great Code Demos
Every developer on earth has, at some point, had another developer to thank for a breakthrough, a success, an aha moment they wouldn’t have had without coming across that blog post, that open-source contribution, that reply on socials or that humble ...
What Developers Really Need to Create Great Code Demos
CH
Chris Heilmann
Building a "shoutout" component in plain HTML/CSS/JavaScript
Every Wednesday we meet at noon to talk about a lot of tech news, tools and resources in something we call WeAreDevelopers Live . We go live on YouTube and afterwards we cut out short videos to post on social media. What we needed was an obvious “sho...
Building a "shoutout" component in plain HTML/CSS/JavaScript

From learning to earning

Jobs that call for the skills explored in this talk.