#angular7

Prevent user from losing unsaved data

Reading Time: 3 minutes There are many instances where a user fills some details in the form, edit their details, or secure the form in such a way that if someone navigates away or closes the browser tab, they should be prompted to confirm that they really want to leave the form with unsaved data. Whenever these kind instances occur you will see an alert appear on the top of Continue Reading

ngRx with Redux in Angular

Reading Time: 4 minutes In this blog, we will see the basic pattern of Redux and some benefits and some high-level concepts of redux and then we will discuss the brief about ngRx and its basic implementation. Redux: Redux is a predictable state container for JavaScript apps. It helps you write applications that behave consistently, run in different environments (client, server, and native), and are easy to test. On top of Continue Reading

Angular Router: Parameter with the snapshot

Reading Time: 3 minutes The Angular Router is a powerful router library that allows developers to implement advanced functionality in their Angular applications. Earlier what we were doing if we want to send the value of the parameter from one component to the other we were makes use of the @Input decorator to get hold of that value that was being passed in from one component to the other. But, Continue Reading

RxJS Operators in Angular

Reading Time: 3 minutes Many of us make use of RxJS for its Operators and the Observable is treated as a foundation for that.  further, in this blog, we are going get the understanding of Operators provided by RxJS but before digging into it lets under what is Operators. What are the Operators? Operators are basically pure functions, that transform information into the observables stream. it always creates new Continue Reading