Search Results

Blog Archive

Class based components in reactJS

PDF: https://github.com/academind/react-complete-guide-code/blob/13-class-based-cmp/slides/slides.pdf What and why Class-based components in React are ES6 classes that extend the component class from React library. They offer more features than...
Continue reading

Closures

Function with there lexical scope form a bundle that’s called lexical scope. In JavaScript, a closure is a function that reference variable from its outer...
Continue reading

Recursion in JavaScript.

Recursion is a concept that is not only prevalent in JavaScript but in many other programing languages as well. In simple terms, recursion is a...
Continue reading

The arguments object

The arguments object is a special object in JavaScript that is automatically available within the scope of a function. It contains a list of all...
Continue reading

What is an IIFE in JavaScript?

IIFE: Immediately Invoked Function Expression An IIFE, or Immediately Invoked function Expression, is a common JavaScript design pattern used to create a self-contained and private...
Continue reading

Arrow functions

Arrow functions are a concise way to write functions in javaScript. They were introduced in ECMAScript 6 (ES6) and provide a shorter syntax compared to...
Continue reading

Function Parameters

In JavaScript, parameters of functions default to undefined. However, in some situations it might be useful to set a different default value. This is exactly...
Continue reading

Functions in JS

In JavaScript, functions are fundamental building blocks that allow developers to encapsulate a set of statements performing a task or calculating a value. A function...
Continue reading