Angular

Cyclic Dependencies in Angular: Understanding and Resolving the Problem Joseph Mukunga Fri, 04/25/2025 - 01:25
Angular Cyclic Dependency Diagram

Circular dependency in Angular happens when two or more files/services import each other directly or indirectly, causing errors or unexpected behavior during build or runtime. It can be fixed by refactoring shared logic into a separate service or module.

Running Angular with Vite

angular + vite

We have long relied on ng serve as the go-to command for serving Angular applications during development. However, there is a new tool called Vite that performs the same function. So what is the difference and what advantages does it offer?