Understanding the useRef React hook

Understanding the useRef React hook

  • January 21, 2021

Continuing our React hooks series, we will learn about the useRef React hook in this blog post. The useRef React hook is useful in the following two situations: Before we see these advantages of the hook, let us first understand what the hook is and what it does. What is...

How to cancel an HTTP fetch request

How to cancel an HTTP fetch request

  • January 19, 2021

JavaScript promises have been a huge catalyst for asynchronous coding in the language. They have vastly improved the performance and experience for web development. One shortcoming of native promises has been that we were not able to cancel an HTTP fetch request once it was initiated. But now there is...

Use redux-like middleware for useReducer in React

Use redux-like middleware for useReducer in React

  • January 14, 2021

If you have used Redux before, you would be aware of the concept of middlewares. Now that useReducer has become a commonly used react hook, we might want to replicate the idea of middleware for the useReducer hook as well. If you do not know about middlewares, middlewares are functions...

How to write your own custom React hooks

How to write your own custom React hooks

  • January 12, 2021

If you have been using react for a while, chances are you have come across the need to extract some logic into a reusable function. And with React hooks coming into the picture, doing this has become a walk in the park. We can write our own custom react hooks...

How to develop your curiosity for a better self?

How to develop your curiosity for a better self?

  • December 29, 2020

Curiosity is the reason why most of the breakthrough discoveries and remarkable inventions have happened throughout history. In the absence of curiosity, there would not have been an impulse to seek new information or experiences. Exploring possibilities is what defines human nature and thus curiosity is an integral part of...

Open-Source AI Tools

Open-Source AI Tools

  • December 22, 2020

In this article, we will go through some of the most commonly used open-source AI tools available in the market. This is not an exhaustive list. But it serves as a good starting point for anyone trying to venture into machine learning or artificial intelligence. Since these are open-source AI...