The Context API is a component structure provided by the React framework, which enables us to share specific forms of data across all levels of the application. It’s aimed at solving the problem of prop drilling.

“Prop drilling (also called “threading”) refers to the process you have to go through…

This blog gives a basic idea about DOM and events.

The Document Object Model (DOM) is the data representation of the objects that comprise the structure and content of a document on the web.

The Document Object Model (DOM) is a programming interface for HTML and XML documents. It represents…

In computing, memoization is an optimization technique used primarily to speed up computer programs by storing the results of expensive function calls and returning the cached result when the same inputs occur again.

Memoization has also been used in other contexts, such as in simple mutually recursive descent parsing. Although…

This is the continuation of the my previous blog. Please feel free to have a look at my previous blog here, general introduction on the same.

Common Git Commands

git pull

This command incorporates changes from a remote repository into the current branch. …

Inheritance

Inheritance is one of the core concepts of object-oriented programming (OOP) languages. In the classical inheritance, methods from base class get copied into derived class. It is a concept in which some property and methods of an Object is being used by another Object.

In simple terms, it is the…

Reversing a string is one of the most frequently asked JavaScript question in the technical round of interview.

There are many ways to reverse a string, this blogs few ideas of them.

Test cases

  • reverseString(“Hello”) should become “olleH”
  • reverseString(“Rock Star”) should become “ratS kcoR”
  1. Using Built in functions
function reverseString(givenString) {…

A closure is the combination of a function bundled together (enclosed) with references to its surrounding state. In other words, a closure gives you access to an outer function’s scope from an inner function. In JavaScript, closures are created every time a function is created, at function creation time.

JavaScript…

This article gives an insight on currying in javascript.

Currying is an advanced technique of working with functions. It’s used not only in JavaScript, but in other languages as well.

What is currying?

Currying is a technique of evaluating function with multiple arguments, into sequence of functions with single argument.In…

Girija Viswanathan

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