Bit VS vitro

Compare Bit vs vitro and see what are their differences.

Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
Bit vitro
69 2
17,546 397
0.8% -
9.9 0.0
6 days ago about 3 years ago
TypeScript TypeScript
GNU General Public License v3.0 or later -
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Bit

Posts with mentions or reviews of Bit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-03-13.

vitro

Posts with mentions or reviews of vitro. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-02-15.
  • Storybook lightweight alternative 2022?
    3 projects | /r/reactjs | 15 Feb 2022
    check out this one https://github.com/remorses/vitro
  • Storybook: UI component explorer for front end developers
    10 projects | news.ycombinator.com | 11 Sep 2021
    I’ve used storybook for 4 years in teams of 1-15 devs and I’d say it’s a must have for any serious react app with 3+ full time developers. It has its rough edges sure but the ROI is 10x nonetheless in my experiences.

    Advantages

    - Testing components in isolation forces some good practices and allows to keep the codebase in check by encouraging good practices (limited coupling of unrelated parts of the codebase

    - It’s super productive because it is both a form of unit tests, useful during development of UX in « TDD mode », and a very good documentation of your UI components. It greatly reduces the effort needed for both these aspects.

    - For DX, the hot reload is generally faster in storybook than in the App (except if you use vite/snowpack in your app, so far..) because reloading a single component is faster than reloading the whole app and its state. In a large CRA our hot reload could sometimes take up 1min in complex cases, while storybook was taking 3s.

    - Coupled with Chromatic (their hosted platform) and its GitHub integration it makes QA and visual regression testing a joy, 10x faster than alternatives, I really recommend that.

    - It allows to share/iterate easily your ongoing developments with non-tech people in your organisation at early stage. A very good bridge between Figma and the final UI. A good support during Daily meetings about UI, just shared the deployed story url to ask for feedback.

    Drawbacks

    - It has its own Webpack config. So if you have a custom Webpack config in your app (don’t do that anyway, unless absolutely necessary) then be prepared to duplicate the customizations in your storybook config

    - Global React Contexts needs to be duplicated in your storybook config and, if necessary, configured for individual stories. For example if your signup button changes based on an Auth status stored in a global context, then you will have to use Story.parameters to customize the content of the Auth context.

    - We had a couple instances where storybook was the limiting factor for us to embrace some new/fancy tech, like yarn v2 or service worker. However maybe that’s a good litmus test: things that storybook support are state of the art JS and generally safe to use. Things that storybook does not support out of the box will cause you problems with other tools anyway: if it’s not storybook, some other tool like Cypress, Jest, Next, or some browsers will cause you trouble with your “shiny new tech”

    - It can be slow to startup. We had a storybook with 300+ complex stories and it took 5min to startup and 10min to build in the CI

    - It had some API changes/ migration pains a couple years back. However I think the new API is very good and will last a long time so this is behind.

    Overall I definitely advocate to use storybook, especially with Chromatic, the ROI is 10x. If you find yourself limited by it in 2021 despite configuring it, maybe question your own tech stack.

    Don’t try to implement your own storybook copycat (we had a colleague develop an alternative https://github.com/remorses/vitro , but i think it was not worth the effort)

    If you want to see a state of the art repo in NextJS that uses storybook extensively with some customizations, check https://github.com/Labelflow/labelflow/

What are some alternatives?

When comparing Bit and vitro you can also consider the following projects:

single-spa - The router for easy microfrontends

storybook - Storybook is a frontend workshop for building UI components and pages in isolation. Made for UI development, testing, and documentation.

labelflow - The open platform for image labelling

nx - Smart Monorepos · Fast CI

fractal - A tool to help you build and document website component libraries and design systems.

Commander.js - node.js command-line interfaces made easy

cosmos-js - Sandbox for developing and testing UI components in isolation

piral - Framework for next generation web apps using micro frontends. :rocket:

Cypress - Fast, easy and reliable testing for anything that runs in a browser.

lit-element - LEGACY REPO. This repository is for maintenance of the legacy LitElement library. The LitElement base class is now part of the Lit library, which is developed in the lit monorepo.

shoelace-css - A collection of professionally designed, every day UI components built on Web standards. SHOELACE IS BECOMING WEB AWESOME. WE ARE LIVE ON KICKSTARTER! 👇👇👇