Bits and Pieces

Insightful articles, step-by-step tutorials, and the latest news on full-stack composable software development

Follow publication

A Modern Approach for Angular Development

Olivier Combe
Bits and Pieces
Published in
8 min readNov 23, 2023

Understanding App Composability

At its core, app composability refers to the ability to build applications by composing reusable components.

Example: a dependency graph of independent, reusable (Bit) Angular components

Quick start on using Angular with Bit

Step 1: Installing Bit in your Angular project

npx @teambit/bvm install
bit new angular my-workspace --env bitdev.angular/angular-env

Step 2: Creating and tracking components

bit create ng-standalone ui/my-button
bit snap -m "Creating new ui/my-button component"
bit export

Step 4: Consuming Bit components in Angular applications

bit create ng-app apps/my-angular-app
bit install @my-org/my-scope.ui.my-button
import { MyButton } from '@my-org/my-scope.ui.my-button';

Benefits of using Bit for Angular Development

Bit components and Angular components

Component-centric approach

Isolation and dependency management

Bit’s collaboration and sharing capabilities

Effortless component documentation

Advanced component testing

Streamlining continuous integration with Ripple CI

Conclusion

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Published in Bits and Pieces

Insightful articles, step-by-step tutorials, and the latest news on full-stack composable software development

Responses (4)

Write a response

Building composable applications with Angular is a valuable approach for organizations looking for scalable and modular web applications. Hiring an Angular developer who is well-versed in the framework's principles and best practices can be a…

--

Very interesting piece. How exactly does Ripple CI work? Does it work across Bit Scopes?

--

Great article!. @Olivier
If i'm about to transition an existing Angular application into Bit Angular components, where should I start from?

--