Angular 8 @Output EventEmitter: Emitting an Object instead of Primitive Data Types

Introduction In <a class="osat-taglink" rel="dofollow" href="https://www.onooks.com/tag/angular-8/”><a class="osat-taglink" rel="dofollow" href="https://www.onooks.com/tag/angular-8/”>Angular 8, the @Output decorator along with the EventEmitter class allows you to emit events from a child component to its parent component. By default, the EventEmitter is designed to work with primitive data types such as strings or numbers. However, there might be scenarios where you…

Angular Material Table – Row Index is Inconsistent

Introduction In this blog post, we will discuss a common issue encountered when working with <a class="osat-taglink" rel="dofollow" href="https://www.onooks.com/tag/angular-material-2/”><a class="osat-taglink" rel="dofollow" href="https://www.onooks.com/tag/angular-material-2/”>Angular Material‘s mat-table component. Specifically, we will explore the problem of inconsistent row indexing when adding and removing rows dynamically. We’ll provide step-by-step instructions to reproduce the issue and offer a solution to resolve…