webdev

How to remove a property from a JavaScript object

How to remove a property from a JavaScript object

  • August 29, 2021

There are two ways to remove a property from a JavaScript object: one is the mutable way of doing it by using the delete operator. And the second one is the immutable way of doing it by using object restructuring. Let us go through each of these: 1. The delete...

GraphQL Basics: Types, Queries, Mutations, and Schema

GraphQL Basics: Types, Queries, Mutations, and Schema

  • July 15, 2020

Once you get a grasp of what GraphQL is, and why it is important, you also realize that it is a different design process. And before diving into the implementation, it is important that we understand the GraphQL basics, the various terminologies that come with it. If you are just...

JavaScript Promise combinators: race, all, allSettled, any

JavaScript Promise combinators: race, all, allSettled, any

  • December 3, 2019

Promises have not been a new concept in the javascript community. They have existed in the ecosystem for a long time. JavaScript promises existed even before they were officially made a part of the ECMAScript spec in ES6. These initial implementations of JavaScript promise were in the form of framework...

Using Emotion js in a react project

Using Emotion js in a react project

  • July 2, 2019

CSS in JS is a fairly controversial topic depending on who you talk to. What it gives you is the ability to do is write all your styling in javascript instead of creating a separate CSS file. I really like CSS in JS because it solves some of the major...