Amy Blankenship
Aug 30, 2023

--

Storybook has hot reload. And just because most of the places you've seen it have been for documentation doesn't mean that's the only way it _can be_ used. I've actually used it to stub in a component showing the inputs and outputs that component is expected to have (which is similar to how testing works) and then handing that to a developer to just fill in. That can be a little weird tho because the most succinct syntax has Storybook automatically providing stub functions so they're not visible if someone doesn't actually read the props interface.

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

No responses yet