DEV Community

Cover image for ({react, ts, storybook}) => ❤️
Stefan Alfbo
Stefan Alfbo

Posted on

({react, ts, storybook}) => ❤️

Had a blast yesterday in a programming session with some colleagues, triple-programming.

We were building a new react component in TypeScript with the help of Storybook. The workflow felt just like TDD but instead of tests we used the visual aid from Storybook.

This workflow and the use of language that can enable strong typing made it lovely to code and brought up many good discussions during the session. This is something I would love to do again and recommend others to try!

Also, after the session I googled Storybook Driven Development and of course there are plenty information about this on the Internet :-)

Visual TDD

Top comments (0)