Reuse Stories When Testing
My volunteering experience at an open source project led me to appreciate Storybook. Developing frontend components in isolation makes me happy. Unexpected behaviour is localised, and you are appropriately enticed to write your components better. By better, I meant modular. Modularity encourages simplicity (think SRP), and this makes code more reusable and self-documenting. There’s no greater joy than not having to explain your code.
But wait, there’s more: If you think writing stories is exclusive to your Storybook instance and thus a pain to write, think again.
Continue reading "Reuse Stories When Testing"