Open in app

Sign In

Write

Sign In

Adrian Brand
Adrian Brand

24 Followers

Home

About

Oct 14, 2021

Angular state management using services built with ez-state

One of Angular’s most powerful features is services and dependency injection. Services coupled with RxJs behavior subjects is one of the best ways to manage application state. In this article we will explore using the library ez-state to help us create simple Angular services for state management. What is ez-state…

Angular

6 min read

Angular

6 min read


Mar 11, 2021

Angular two way binding and banana box syntax

In Angular we have input properties @Input() myInputProperty: string; and event emitters myInputPropertyChange = new EventEmitter<string>(); We can use these to bind to in the template <my-component [myInputProperty]="propertyToBindTo" (myInputPropertyChange)="propertyToBindTo = $event"></my-component> Because of the way this input property and event emitter combination are named where the event emitter has the…

Angular

1 min read

Angular

1 min read


Nov 12, 2020

Angular cross field validation with template forms

When we are building a forms based application we often need to validate form fields in relation to other fields. If we have a simple form with two dates, start date and end date that looks like the following <form> <label>Start date: <input type="date" name="startDate" [(ngModel)]="startDate" required>…

Angular

4 min read

Angular

4 min read


Dec 27, 2018

Angular state management with RxCache: Part 2

To subscribe or not to subscribe, that is the question. In this follow up to part 1 I will discuss the difference between the Observable properties and direct access properties to the data stored in an RxCache item. If you haven't read part 1 then you should catch up on…

Angular

4 min read

Angular

4 min read


Dec 23, 2018

Angular state management with RxCache

Angular state management with RxCache What is RxCache? RxCache is a light weight state management library for Angular built on RxJs behaviour subjects. It is used to implement a single source of truth application state with barley any boilerplate code. …

Angular2

8 min read

Angular2

8 min read

Adrian Brand

Adrian Brand

24 Followers

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech