Comments

Understanding JavaScript Closure

A JavaScript closure is the combination of a function (which may be nested together) and the lexical environment within which the particular function is declared. Lexical environment is the internal JavaScript engine construct that holds identifier-variable mapping. Also, a JavaScript variable may be local or global. While the global variables are declared in global scope […]

Tags: ,
Comments

What is “this” in JavaScript?

Understanding of this variable in JavaScript requires very basic knowledge of JavaScript. this keyword defines an object, that object which is executing the current bit of JavaScript code. In JavaScript, “this” variable is a variable that every execution context gets, in a regular function call. Every JavaScript function has a reference to its current execution […]

Tags:
Comments

React Fiber

Before we understand how & what fiber is, let us understand what exactly happens when you want to render something on the Browser using react It includes 2 main components Reconciler Renderer Reconciler All the changes that needs to be applied to the current tree of React Elements to reflect the updated state on the […]

Tags: ,
Comments

What Are Pure Functions?

JavaScript developers are embracing Functional Programming quite a lot these days, and there is a huge advocacy to write Pure Functions. Now, what are Pure Functions? Not long ago, I learned the concept of Pure Functions, and to my surprise, I was already writing many pure functions, without realising that there was a term for […]

Tags: ,
Comments

JavaScript: var, let and const

If you are a JavaScript programmer, you may have seen the usage of different types of keywords like let, var and const all over your code. Do you know the difference between them and which one to pick? If you are confused about the differences between let, var and const keywords in JavaScript, this post […]

Tags: , , ,
Comments

JavaScript patterns: Throttle and Debounce

Do you need to handle a specific event, but you want to control how many times your handler will be called in a given period of time? This is a very common problem and often happens when listening to events such as scroll, mousemove or resize, which are triggered dozens of times a second. But […]

Tags:
Comments

SOLID – 5 Principles Of Object Oriented Design Every Developer Must Learn

You may have come across the term SOLID principles in your programming career. SOLID principles are a set of five principles that ensure good Object Oriented Design. SOLID principles were introduced by Robert C.Martin, otherwise called “Uncle Bob”. In this post, we will go over all the five SOLID principles and how they can be […]

Tags: ,
Comments

New ES2019 JavaScript Features You Need To Learn

It’s 2019, and there are some brand new features in the latest JavaScript standards. JavaScript has come a long way over the years, becoming the most popular language in the world. In this post, I am going to give you a briefing on some of the cool new features that have been added to the […]

Tags: , ,
Comments

Getting Started With Jest – Testing is Fun

Why should I write tests? As software developers, it is our prime responsibility to ensure that we ship apps that are of high quality. Now, how do you know if your app passes the quality test? Well, writing tests to validate the app if one of the fundamental tasks that we need to do as […]

Tags: , , ,
Comments

React, Angular or Vue: What to Choose for Your Next Project?

It’s 2019, and the StackOverflow Developer survey results for this year are out. Guess what? For the seventh year in a row, JavaScript has been voted as the most popular programming language. In this post, we are going to compare the three most popular JS frameworks. If you would rather watch a video to learn […]

Tags: , , ,
Connect with Me
  • Categories
  • Popular Posts