-
https://storybook.js.org/blog/storybook-for-vite/ I'm thinking especially given your recent upcominig beta release roadmap. Given your realignment to Vitebook's original goal:
and in line with your desire to conservation of your resources/time, then perhaps Storybook for Vite could be complimentary to Vitebook? Or would Vitebook as a Storybook replacement offer something completely unique (besides running on Vite) that Storybook for Vite doesn't accomplish? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
It definitely could be. I'm not 100% certain how we'll bake in Storybook support. If the integration story for the official Storybook plugins and Vite ecosystem is smooth then maybe we go that way.
I think the main concern with Storybook is that it's a hassle to setup, and it's package install size + client-side is bloated and occasionally laggy. There's other concerns as well around such as it only supports CSF format which isn't ideal in SFC-based languages such as Vue/Svelte. I believe most people would love something lightweight that just works out of the box and handles their minimum needs when building/testing UI components. We might opt for a lightweight path. A recent library development in the Vite ecosystem called whyframe may have given us the opportunity to easily bake in a simple Storybook-like environment. As I said earlier I don't actually know yet and this will require much more discussion after we roll the Beta out. If you have thoughts on this matter then feel free to share, love to listen :) |
Beta Was this translation helpful? Give feedback.
-
Thanks for the candid answer. :) When we're on lightweight Storybook alternatives, here is another one I've noted:
Personally, I think I'm going to hold off on Storybook. Since it seems generally disfavored among thought leaders in the community these days: For various reasons: the ones you mentioned, plus “I would only view my components in isolation if I was building a ui library”, “Or the project has a bigger dev team, but even then I don't feel like it provides that much value”. My impression is that Hot-Module-Replacement (HMR with Vite) / Fast Refresh replaces the need for developing components in isolation, because you can always see them in their realistic context, which seems more effective and better for UX. Even though having a showroom such as Storybook would be neat for the off change I'd need to showcase something. Correct me if I'm wrong. |
Beta Was this translation helpful? Give feedback.
It definitely could be. I'm not 100% certain how we'll bake in Storybook support. If the integration story for the official Storybook plugins and Vite ecosystem is smooth then maybe we go that way.
I think the main concern with Storybook is that it's a hassle to setup, and it's package install size + client-side is bloated and occasionally laggy. There's other concerns as well around such as it only supp…