Nhan NguyeninStackademicAngular dependency injection using multi-providersWhen building large Angular applications, we often need to make our code scalable, maintainable, and easy to extend. Angular provides…Sep 18Sep 18
Nhan NguyeninStackademicUnderstanding Angular Injection Context and Signal equality functionsDependency Injection (DI) is a pivotal design pattern that empowers developers to decouple their code, facilitating easier reuse of classes…Aug 28Aug 28
Nhan NguyeninStackademicCreate Angular Components Dynamically at runtimeDynamically create and destroy componentsAug 23Aug 23
Nhan NguyeninStackademicAngular Cross Chat Tab with the BroadcastChannel APIIntroducing the BroadcastChannel APIAug 21Aug 21
Nhan NguyenJavaScript Design Patterns — Behavioral — TemplateThe template pattern allows defining the skeleton of an algorithm in the superclass but lets subclasses override specific algorithm steps…Aug 20Aug 20
Nhan NguyenJavaScript Design Patterns — Behavioral — StrategyThe strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable.Aug 16Aug 16
Nhan NguyenJavaScript Design Patterns — Behavioral — StateThe state pattern allows an object to alter its behavior when its internal state changes.Aug 15Aug 15
Nhan NguyenJavaScript Design Patterns — Behavioral — ObserverThe observer pattern allows for the definition of one-to-many dependency between objects so that all its dependents are notified and…Aug 12Aug 12
Nhan NguyenImprove Angular Signals performance with untracked functionAngular Signals are available for developers from Angular v16.Jul 26Jul 26
Nhan NguyenJavaScript Design Patterns — Behavioral — MementoThe memento pattern allows capture and externalizes an object’s internal state so that the object can be restored to this state later.Jul 19Jul 19