zzarcon / ts-react-toolbox

Opinionated toolbox boilerplate to create Typescript React components 🛠:package:
MIT License
23 stars 5 forks source link

Add storybook #17

Open theKashey opened 5 years ago

theKashey commented 5 years ago

More about add generator for a custom webpack build for storybook

zzarcon commented 5 years ago

Can you elaborate? I like the current approach which just spins a static page with dev server. I find storybook overkilling

theKashey commented 5 years ago

I like yarn dev, but it's really hard to have more than one example, or, to be more concrete - a bunch of smaller and simpler examples. I was usually changing that one example, and some edge cases and features, as a result, were not tested. That's not good, while storybook encourages you to create a small and sound implementation of different ways your thing could work.

50% of my ts-react-toolbox usages are not React, and not even UI.