Uncategorized

Component Architecture

Component Architecture Modern web development follows component architecture. Angular is a front-end framework based on component architecture to develop scalable web applications. To understand the component architecture, let us consider the following example: My home refrigerator has an LED screen on its door. It’s a smart fridge and is connected to Wi-Fi. The screen can …

Component Architecture Read More »

Jenga Debugging

Jenga Debugging Photo by Valery Fedotov on Unsplash Have you ever played Jenga? It’s a child’s game, that’s still actually pretty enjoyable as an adult. It’s how some of us learned a few basics of engineering and physics before we could even sing the alphabet. I’m going to tell you about an unorthodox way of debugging …

Jenga Debugging Read More »

Fassade Pattern in NgRx

Dieser Artikel behandelt das Fassaden Pattern in NgRx. Der Autor setzt voraus, dass ein entsprechendes Grundwissen im Umgang mit NgRx vorhanden ist. Die Fassade entkoppelt NgRx von unserer Anwendung. Dabei werden Selektoren als Properties vom Typ Observable angeboten. Die Actions werden zu normalen Methoden. Eine Videoversion gibt es hier: https://youtu.be/K4dpVXuhm14 Theorie Die Fassade ist ein …

Fassade Pattern in NgRx Read More »

NgRx Facade Pattern

NgRx Facade Pattern This article covers the Facade pattern in NgRx. The reader must have a basic understanding of NgRx or a similar state management library. The Facade pattern decouples NgRx from the rest of our application. It does that by masking NgRx-actions as method calls and the selectors as properties of type Observable. In case …

NgRx Facade Pattern Read More »

Function calls inside template are dangerous!

The other day, one of my coworkers detected a strange behavior inside our application. When he added RouterLinkActive to a link, the application stopped rendering. However when the directive was removed, the application worked correctly. Instead of immediately reading the solution, I created a challenge inside AngularChallenges for those who want to try resolving and …

Function calls inside template are dangerous! Read More »