Hacker News new | ask | show | jobs
by diegof79 834 days ago
I used Storybook often, but the transition on each major release was painful.

The main issue is that Storybook provides an interface for the server and transpiler/compiler process. So, if you already have Webpack, Vite, Parcel, or Next, you’ll need to configure SB to work with your toolchain. After many frustrations, I created an ad-hoc page using the import.meta.glob from Vite in my latest projects. Loading files utilizing a sub-set of SB CSF is easy, and that crappy ad-hoc playground covers 80% of my use cases, with the possibility of migrating to SB if I need more.

SB is very useful for anyone doing a DS, but now is too big for my needs.