Reactive Programming

Using the catchError, retry and retryWhen Operators

Introduction

  • catchError
  • retry
  • retryWhen

What happens when an error occurs


Reactive Programming

And 7 Most Commonly Used Operators You Should Know

Introduction

  • the terminology used in RxJs
  • the roles that an Observer, Observable, Subscriber and Operator play and their responsibilities
  • how to create an Observable using various methods.
  • and seven of the most often used operators and how they work


Software Design Patterns

What it is and how to implement it in JavaScript

The Builder Design Pattern
The Builder Design Pattern
Photo by C Dustin on Unsplash

Examples of Complex Objects


JavaScript Fundamentals

What they are and how to start using them effectively

Photo by Alfons Morales on Unsplash

Introduction


Part 3: Shadow DOM

Photo by Ryoji Iwata on Unsplash

Introduction


Part 2: Templates

Photo by Ryoji Iwata on Unsplash

Introduction


Part 1: Custom Elements

Photo by Ryoji Iwata on Unsplash

Introduction


Photo by Markus Spiske on Unsplash
  • The await keyword takes a function that returns a Promise and returns the resolved value of that promise.
  • You can only use the await keyword within functions that have been declared with the async keyword.
  • How do async functions work under the hood.
  • You don’t need to use await in the return statement of an async function when returning a Promise.
  • You can use Promise.all([…]) with await to execute multiple promises at once.
  • You can use the for/await loop to asynchronously loop over Promises.

Introduction


How property access is performed under the hood

Photo by Jonathon Young on Unsplash
// object literal
const obj = {
x: 52
};
// property access
obj.x;

[[Get]]


Understanding how all of it works

  • Object.preventExtension(obj);
  • Object.seal(obj);
  • Object.freeze(obj);

Property Descriptors

Object.getOwnPropertyDescriptor(obj, 'property');
const obj = {
x: 'some value of x'
}
const descriptors = Object.getOwnPropertyDescriptor(obj…

Abdul Haseeb Khan

I’m a husband, father, professional front-end developer and I speak JavaScript. You can follow me on Twitter here: https://twitter.com/AbduL_Haseeb_

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store