Aspects are the building blocks of Bit. Aspects modularize and isolate cross-cutting business concerns in Bit. This means that each Aspect in Bit is a "service" implementing a feature.
This means that at its core Bit is simply a composition of services that together form a complete system.
Below are some examples for Aspects in Bit:
- Generator - Creating new components using pre-defined templates.
- MDX - Manages component documentation using MDX files.
- Dependency resolver - Handles dependency policies and resolutions for components and installing dependencies via an integration with various package managers.
- React - Manages all local development requirements for React-based workflows and highly inspired by
Each Aspect is implemented as a component in Bit and is composed from multiple components. Aspects communicate and compose with one another via APIs called
You can implement new Aspects, compose them with Bit's core Aspects and thus extending Bit's core functionality to support advanced features.