Member-only story
Important Architecture Decisions for Your Angular Application
Making your angular application more robust
This guide will explore some of the architectural decisions that will help make your angular application more robust and easy to maintain as the code base grows.
When starting out on a new project it is easy to get caught up in the excitement and get straight into the action, but before you start adding functionality to your Angular application, it is important to sit down and reflect on a few things.
State Management
Component communication is very important in Angular applications. There are many ways in which Angular components communicate or exchange information.
Some of the most common methods include Parent-to-Child communication with input binding, Child-to-Parent via an event, Communication via a local variable, or using a dedicated communication service, etc.
As the size of your application grows, however, it may not be easy to keep up with exchanging data between components via a service or Parent-to-Child communication, this is where state management comes in.
With a state management library such as Akita, you store specific related data in a data store, and your components query this store for…