AI-powered applications, which are based on data streaming in and out of LLMs and other AI models, are notorious for being flaky and unpredictable. They require a careful orchestration of various moving parts and a strict validation of the models’ inferences. A great way to make the system more predictable and trustworthy — is by treating its parts such as agents, templates, output schemas, and more — as discrete Bit componetns that are individually tracked and versioned.
Is this you? As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.
Claim your profile
Articles by Eden Ella
Micro Frontends: Enabling Scalable and Autonomous Development with Build-Time Integration
Micro frontends (MFEs) are often integrated at runtime rather than build time. This choice isn’t necessarily because runtime integration offers a better user experience—it’s because it enables faster builds and smoother collaboration between teams. With runtime integration, teams can work autonomously, developing, building, and deploying their MFEs independently, often in separate repositories. However, runtime integration comes with trade-offs.
Progressive Refinement and Generalization of Components
Bit components often start as tailored solutions for specific needs and evolve through a collaborative process into generic tools that maximize code reuse. Before Bit became part of our workflow, sharing and collaborating on individual components was a complex and cumbersome process. It demanded a sophisticated build setup to manage dependencies, packaging, documentation, and more.
AI Coding Assistants, Starter Templates, and More: A Guide to Working less
Empowering your AI dev assistant with project templates, self-hosted UI libraries, composable code, IoC, and more You’re a JavaScript developer with big dreams to build amazing things. But before you can even start on that next incredible app idea, you’re stuck spending hours setting up boilerplate code and infrastructure. There’s the dev environment to configure, CI pipelines to set up, and plenty of generic features to build, like user profiles and auth flows.
Sharing UI Components: Copy VS Install
In recent years, there's been a noticeable shift in how developers approach UI libraries, moving away from installing entire component libraries via npm packages and toward directly copy-pasting the code into their codebase. This trend has been largely popularized by Shadcn/UI, a library that provides developers with ready-made, customizable components that can be copied directly into a project for maximum flexibility.
Create and Publish Packages: A Modern Approach
The simplest way to publish multiple packages to NPM or other registries Publishing a single package to npm (or any other registry) is fairly straightforward. However, when you have multiple packages that depend on each other, things can get a bit more complicated. Adding to this complexity is the need to ensure that packages are secure and reliable and that a new release does not break any of your package consumers.
Make Instant Package Updates and Test Impact on Dependent Projects
How to efficiently edit shared modules and see the effects on dependent projects Bit is a widely used tool for managing shared components and modules across multiple projects. Bit components are essentially standard packages that can be independently maintained without the hassle of dedicated repositories or complex setups. This allows for quick edits and updates to shared components without sifting through vast codebases or hopping between repositories.
Manage Your Shared Components and Modules in The Cloud
You have a few modules you'd like to share across different projects. These could be UI components, micro-frontends, utility functions, services, or even shared configuration files. But very quickly you find out this is not as simple as you might have thought. Your shared modules require a proper setup to be developed, tested, packages, and versioned independently from the projects that consume them.
Create and Edit Shared Modules in The Cloud
Many projects rely on shared modules used across various parts of the codebase, such as UI components, micro frontends (MFEs), utility functions, services, types and schemas, or shared configuration files. Managing these shared modules can be complex, often requiring an intricate development environment and build pipeline to ensure they can be properly shared and used across projects.
Dependency Management in Monorepos: Single Version Policy vs. Independently Maintained Dependencies
Balancing Flexibility and Consistency in Large Codebases Monorepos have become an increasingly popular way to manage codebases, especially for organizations that maintain multiple projects with shared dependencies. However, one of the critical decisions to make when adopting a monorepo strategy is how to manage these shared dependencies. Two main approaches are the Single Version Policy and Independently Maintained Dependencies. Each has its advantages and challenges.
Optimizing Your Codebase for AI Coding Assistants
How to create a codebase that is simple, minimal, modular, reusable, and easily readable — for AI and humans There are plenty of articles online that compare and rank AI coding assistants, but there’s little discussion about the codebase they interact with. How do you design a codebase that is optimized for AI coding assistants? How can you make sure that your codebase is AI-friendly?
Monorepo VS Polyrepo
The question of whether to maintain your codebase as monorepo or polyrepo has become even more puzzling with the rise in popularity of micro-architecture patterns like microservices, micro frontends, and micro apps. On the one hand, monorepos are great for cross-project code sharing, dependency management, and consistency across the codebase.
A Code Assistant for Composable Software
A decentralized codebase composed of reusable Bit components with well-defined interfaces, dependencies, and responsibilities is the right platform for effective collaboration. Code is simply easier to understand, maintain, and scale when it's broken down into smaller, more manageable pieces. Tasks are easier to delegate, and the system is easier to reason about. All that is true for human developers, but it's also true for AI code assistants.
Designing Your Codebase for Optimized AI-Driven Development
AI-driven software development leverages artificial intelligence to automate various stages of the software development lifecycle, such as automating code reviews and generating code. This enables developers to deliver software more quickly and efficiently. While AI-driven software development offers many benefits, including faster code writing and improved code quality, it also has its drawbacks.
Building a Host Application for Your Micro Frontends
Creating a shell application that meets all non-functional requirements A shell application, often called a “container” or “host,” is the central piece that combines various micro frontends. It provides the overarching structure and standard functionality that each micro frontend can utilize. Think of it as the scaffolding that supports and connects the individual pieces of your web application.
Building a Host Application for Your Micro Frontends
Sharing UI components for consistency, performance, and faster dev Sharing UI components is nothing new. The trick is to do it in a way that does not create a compromise between development and user experience. UI components should be shared as independent pieces with individual versioning. This allows MFE teams to pick and choose the componetns they need and gradually upgrade their component versions (while avoiding meaningless updates to their project).
Integrating Micro Frontends via Shared Types
Say you are part of the "host app" or "shell app" team. Your primary responsibility is to allow other teams to work and deliver their Micro Frontends independently without risking your application's overall integrity or compromising user experience. One option is integrating Micro Frontends at build time; however, this option can reduce a Bit of each team's autonomy and may slow down the development process. It's a good option in many cases, but not all.
Module Federation: Building a Micro Frontends Solution in 2024
In this blog, we’ll use Module Federation and Bit to implement a runtime integration of Micro Frontends.
A Practical Step-by-Step Guide
There is no one-size-fits-all solution to implementing Micro Frontends, as the approach should be tailored to your project's specific requirements and context. However, implementing one solution can evaluate alternatives, such as fallback options or complementary strategies. In this blog, we'll use Module Federation and Bit to implement a runtime integration of Micro Frontends. Bit offers pre-configured templates for our host app and remote modules.
Building a UI Library for Your Micro Frontends and Apps
Creating a Modular, Extensible, and Dynamic UI library That’s Built To Last A well-crafted UI library is flexible, and this flexibility should manifest itself when the library is consumed, extended, or modified. As is often the case in software development, flexibility is achieved by constructing composable software that consists of loosely coupled and interoperable components. For example, see this custom Material UI library.
Building a UI Library for Your Micro Frontends and Apps
A well-crafted UI library is flexible, and this flexibility should manifest itself when the library is consumed, extended, or modified. As is often the case in software development, flexibility is achieved by constructing composable software that consists of loosely coupled and interoperable components. For example, see this custom Material UI library.
Building a Fullstack React Application in 5 Minutes
Understanding Bit and Composability by Building a Composable GraphQL and React Vite app A composable app built with Bit is a composition of various independent Bit components. Bit components can be created from scratch, using a template, or by forking (cloning) an existing component that is available locally or on Bit Platform. Our demo Blog React app is composed of the following Bit components: To be able to follow this tutorial, make sure to install Bit and initialize a new workspace.
Building a Fullstack React Application in 5 Minutes
A composable app built with Bit is a composition of various independent Bit components. Bit components can be created from scratch, using a template, or by forking (cloning) an existing component that is available locally or on Bit Platform. The dependency graph of the composable full stack React with GraphQL application Our demo Blog React app is composed of the following Bit components: To be able to follow this tutorial, make sure to install Bit and initialize a new workspace.
How to Create and Publish NPM Packages
Effortlessly Manage and Publish Your npm Packages with Bit When we package and publish software, we make it portable and abstract. The published package can be reused across projects. It has a separate and easily traceable version history, offers a well-defined interface (with the implementation “hidden away”), and integrates into your project as one node in a clear dependency graph.
How to Create and Publish NPM Packages
When we package and publish software, we make it portable and abstract. The published package can be reused across projects. It has a separate and easily traceable version history, offers a well-defined interface (with the implementation "hidden away"), and integrates into your project as one node in a clear dependency graph. Transforming software into separate packages doesn't just promote code reuse - it enhances your codebase's overall maintainability. So, package away as much as you can 💪 1.
Customize Material UI Components and Theme: A Modern Approach
Build an ultra-modular component library with Bit and Material UI An ultra-modular library is not a library in the traditional sense but rather a collection of independent components. This kind of architecture offers numerous benefits.
Packaged Business Capabilities: How and Why
‘Package Business Capabilities’ (PBCs), a term coined by Gartner, are independently deployable and functionally discrete units of software that align with a business model, objectives, and language. PBCs enable organizations to be more agile and responsive to change. Companies can easily adapt their IT systems by adding, updating, or replacing individual capabilities without impacting the rest of their operations.
Crafting a Community-Driven UI Library: A Guide to Fostering Collaboration and Adoption
Empower your UI library by boosting open-source / InnerSource community engagement Creating a UI component library can be a monumental yet rewarding endeavor, especially when approached with community collaboration at its core.
Theming using CSS Variables? Turn Them into VS Code Snippets for Faster, Error-Free Coding
Styling using native CSS (or pre-processor languages compiled to CSS) can be great as it offers better performance than JavaScript-based solutions. In addition, CSS is as “universal” as it gets. You won’t waste your time learning framework-specific styling solutions that might become obsolete or fall out of favor, leading to costly refactoring later on.
Token to Tooling: Generating VS Code Snippets from Design Tokens
How to transform design tokens into useful VS Code snippets for faster, error-free coding Styling using native CSS (or pre-processor languages compiled to CSS) can be great as it offers better performance than JavaScript-based solutions. In addition, CSS is as “universal” as it gets. You won’t waste your time learning framework-specific styling solutions that might become obsolete or fall out of favor, leading to costly refactoring later on.
OpenSource to InnerSource: Why Enterprises are Adopting this Strategy
And how to implement the InnerSource development strategy for composable software Open-source is great. It allows us to develop faster and better, leverage the collective intelligence of a diverse community, and innovate through collaboration. We reuse what’s already available and contribute by reporting issues and suggesting PRs. In contrast, dev teams in enterprises often operate in silos where other teams’ code is inaccessible to them.
UI Libraries are Dying: What’s Next?
UI libraries are a collection of UI components, styles, and utilities packaged and published to be reused in applications. They help maintain consistency in and across apps, speed up development and make code more maintainable. UI libraries come with their own set of challenges, which greatly limit their effectiveness. These challenges stem from more fundamental problems related to code sharing and reuse.
Implementing Feature Toggling in 2024
Feature flags are an integral part of any platform engineering. They offer a flexible way to manage and deploy features without altering code directly. Feature toggles can be sorted into three types: Release toggles, which control feature release timing. These allow teams to merge code into the main branch without releasing it immediately to users. Experiment toggles, also known as A/B testing toggles, which enable teams to test new features with a subset of users.
UI Libraries Are Dying: What’s Next?
UI libraries are a collection of UI components, styles, and utilities packaged and published to be reused in applications. They help maintain consistency in and across apps, speed up development and make code more maintainable. UI libraries come with their own set of challenges, which greatly limit their effectiveness. These challenges stem from more fundamental problems related to code sharing and reuse.
Micro Frontends with Vite and Bit
A browser-native approach to micro frontends with Bit components, Vite, ES Modules, and Import Maps In this tutorial, you’ll learn the steps to create a micro frontend application leveraging the capabilities of Vite, Bit, and the modern browser. Our Micro Frontend applications (MFEs) and their shared dependencies will be bundled into ES Modules. In development, our MFEs and shared dependencies will be loaded from our local workspace.
Composable Applications: A Practical Guide
Engineering for Adaptability: A Guide to Composable Software Solutions Composable software is a design approach that aims to simplify the development and maintenance of software systems. It does so by breaking down the system into independent components that can be combined and reused in different ways. Composability permeates through every phase of the development lifecycle, from initial design and architecture to implementation and onward to deployment.
Application Shell for React Micro Frontends
Mastering Micro Frontend Integration: Achieving Cohesive UX and Optimized Performance. An application shell is the “container” that integrates micro frontends together. It provides the layout, navigation, global state, and other common elements shared across the MFEs. An app shell sets the rules for communication between the micro frontends and between the micro frontends and the shell. These rules and conventions ensure a cohesive user experience and optimized performance.
Building Service-Oriented Platforms with Bit
Use Bit to compose micro-services and UI components into a unified platform. The advantages of microservices can generally be categorized into two groups: technological and human-centric. Within the human-centric category, the benefits relate to how we work and collaborate. Teams working on microservices have full ownership over parts of the system. They can work independently, choose their own stack, and deploy their services independently and in parallel to other teams.
Composing Services with Bit Components
Building composable applications: microservices and other independent components The advantages of microservices can generally be categorized into two groups: technological and human-centric. Within the human-centric category, the benefits relate to how we work and collaborate. Teams working on microservices have full ownership over parts of the system. They can work independently, choose their own stack, and deploy their services independently and in parallel to other teams.
6 Common Challenges in Micro Frontends and How to Solve Them
Using the right tools and practices to maintain a distributed codebase “A rose by any other name…” ‘Micro frontends’ is the name given to frontends when they are implemented as a distributed codebase. The benefits and challenges of micro frontends are similar to those of microservices or any other distributed architecture. As you’ll see in this article, many of these challenges result from distributed codebases maintained with tools and practices designed for centralized codebases.
Build Your React Component Library with Shadcn UI and Bit
Create your personal modular and extensible UI component library in no time shadcn ui is not a component library. You do not install it. You do not customized it via an API. Rather, it is a set of well-crafted components that you can use as a great starting point to build your own component library. The official docs website offers a number of ways to get started.
Improving Maintainability and Collaborative Efficiency
The question of what should be an independent component, or how we should define the boundaries of a component, comes up quite often when developers start using Bit to implement a component-based architecture. In case you happened to overlook , Bit is an open-source toolchain that helps developers build component-based applications and collaborate on components independent of a git repo or any other development setup.
7 Types of Native Errors in JavaScript You Should Know
This is thrown when a number is outside an allowable range of values. For example, const l = console.logconst arr = [90,88] arr.length=90**99 We have an array, arr with two elements. Next, we try to grow the array to contain 90**99 == 2.9512665430652753e+193 elements. This number is way past the size arrays can be grown to.
How to Gradually Build a Design System
Building a design system as a side-effect of your everyday work Photo by Toa Heftiba on Unsplash A design system is an evolving single source of truth for individuals and teams that are taking part in building products grouped under a single brand or visual language (It doesn’t get more abstract than that 🙂). A design system may consist of reusable functional and graphic components like symbols, fonts, CSS files, images, and UI code components.
Show More
loading
Actions
Is this you?
As a journalist, you can create a free Muck Rack account to customize your profile, list your contact preferences, and upload a portfolio of your best work.Get in touch with Eden
Contact Eden, search articles and posts on X, monitor coverage, and track replies from one place.
Learn more about Muck Rack