Open in app
Home
Notifications
Lists
Stories

Write
Paul Chesa
Paul Chesa

Home

About

Published in JavaScript in Plain English

·Jul 27

How to Handle Errors with the RxJS ‘Retry’ Operator

A short guide on how to use the RxJS ‘retry’ operator to handle errors. — There are several ways to handle errors with observables. One can use operators such as catchError, retry, or retryWhen. Today I look at just retry and a simple way in which it can be used.

Rxjs

2 min read

How to Handle Errors with the RxJS ‘Retry’ Operator
How to Handle Errors with the RxJS ‘Retry’ Operator

Published in JavaScript in Plain English

·Jul 20

Dynamic Component Loading in Angular

Dynamic component loading using a directive in Angular. — Angular provides a nifty feature for loading new components at runtime. Dynamic component loading can be achieved using various ways including structural directives such as ngSwitchCase, ngIf, ngFor, and router-outlet.

Angular

2 min read

Dynamic Component Loading
Dynamic Component Loading

Jul 4

Content Projection (Transclusion)

Content Projection, which is also known as transclusion, is a pattern in which content is inserted and displayed in another component. The content projected does not have any lifecycle of its own.

Angular

2 min read

Content Projection (Transclusion)
Content Projection (Transclusion)

Jul 3

Component Styling In Angular

As a frontend framework, styling is essential in Angular. This provides a basic overview of how components can be styled in Angular. Styling angular components has been simplified since the styling used follows the basic rules of CSS or sass. The same selectors used in CSS are used similarly in…

Angular

2 min read

Component Styling In Angular
Component Styling In Angular

Jun 20

Component Interaction In Angular

Component interaction refers to communication between two or more components created in an Angular application. This article is a bit long and filled with code snippets, bear with me kindly.

Angular

4 min read

Component Interaction In Angular
Component Interaction In Angular

Jun 15

View Encapsulation

Encapsulation is the concept of bundling similar blocks of code together as one unit. In this article, I talk about view encapsulation. View encapsulation defines how styles in components in Angular remain in the host element without affecting the rest of the application unless explicitly allowed to. …

Angular

3 min read

View Encapsulation
View Encapsulation

Published in iTalanta

·Jun 6

Angular Lifecycle methods

Lifecycle hooks are methods called from the creation of a component or a directive to its destruction. For directives, the only lifecycle hooks that can be called include: ngOnInit, ngOnChanges, ngDoCheck and ngOnDestroy. For components, the above lifecycle methods can be called together with: ngAfterContentInit, ngAfterContentChecked, ngAfterViewInit ngAfterViewChecked N.B:

Angular

3 min read

Angular Lifecycle methods
Angular Lifecycle methods

Published in iTalanta

·Mar 27

The case against Non Null Assertion Operator !

The defendant’s opening remarks The post-fix expression operator ! may be used to assert that its operand cannot be null or undefined during runtime. This operator can be used where the compiler is unable to check that a variable cannot be null/undefined. Simply put, when you(as the programmer, writer of code) know all…

Java Script

3 min read

The case against Non Null Assertion Operator !
The case against Non Null Assertion Operator !
Paul Chesa

Paul Chesa

Parva res est

Following
  • JavaScript Teacher (Incognito)

    JavaScript Teacher (Incognito)

  • Soumadri Banerjee

    Soumadri Banerjee

  • Stacie Kipruto

    Stacie Kipruto

  • Naren Yellavula

    Naren Yellavula

  • Andisi Ambuku

    Andisi Ambuku

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Knowable