Callbacks, Promises, Async/await are ways to handle async programming in Javascript.

In synchronous programming, the parent process will wait for the child process to complete before it continues. In contrast, in asynchronous, the parent process will not wait for the child process to complete.

Sync — Async

The benefit of async programming is…

What is React Hooks?

From React documentation

Hooks are a new addition in React 16.8. They let you use state and other React features without writing a class.

In Other words,

Before React 16.8, Developers are forced to use Class components when they required to use State and Life cycle events. …

In Javascript, creating and adding values to object with static key can be done as below.

But sometime you may need to add object key dynamically.

If you add variable name to Object key, It will take variable name as key not variable value.

To have dynamic value as key, use [] to add value to object as below.

I hope this helps someone who is looking to add dynamic key in Javascript Object.

Recursion is one of the most complex thing in programming languages. Javascript is not an exception.

What is Recursion?

From Wikipedia

Recursion in computer science is a method of solving a problem where the solution depends on solutions to smaller instances of the same problem.

In easy words,

Recursion is…

This is the question I was asking to myself 10 years back. I don’t want to just sit in one place without doing any meaningful work. I felt it’s waste of time.

Negative Thinking:

After my 30th age, I felt like I was having problems with my thinking.

  1. I had…


Software engineer who passionate about learning technology. I strongly believe that Technologies are not just to learn, Technologies are to make our life easier

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