💪 Mastering SOLID Principles with Angular: Implementing 💻 Interface Segregation and 🔄 Dependency Inversion! 🚀This article is about mastering SOLID principles in Angular, specifically focusing on the Interface Segregation Principle (ISP) and the Dependency Inversion Principle (DIP). The article will go through code examples to demonstrate the violation of these principles and show how to implement solutions compliant with these principles in Angular using the technique of Injection Tokens factory providers.#Angular#SOLID#DI#ISP#DIP9 Feb 2023 · 15 min read⚙️Simplifying Navigation Error Handling with Angular’s Upcoming Feature⚙️Angular's new navigation error handler feature is set to simplify error handling for developers and provide a more ergonomic API. The new API, enabled through the withNavigationErrorHandler function, eliminates some drawbacks by providing developers with a quick and short way to define a function to handle NavigationError events. The new feature utilizes the EnvironmentInjector.runInContext API, allowing developers to leverage the inject function and avoid some RxJS pitfalls along the way.#Angular#Router2 Feb 2023 · 3 min read@ViewChild’s Potential Unveiled: Adhering to Essential Design Principles and PatternsAccessing a child component's properties and methods directly through ViewChild can result in tightly coupled components that are hard to maintain. However, Angular's powerful DI system can help us out with Injection Tokens! Injection Tokens provide a way to expose a minimal public interface, adhering to the Interface Segregation Principle and the Dependency Inversion Principle.#Angular#SOLID#@ViewChild30 Jan 2023 · 10 min read