In this article, we will learn how you can insert Array into Redis using NodeJS. Redis is used as a key-value data store. It supports numerous data storage structures such as simple strings, lists, hash…
JavaScript
Timeouts in Fetch calls using Javascript Promises
Let’s see a quick example of how to have timeouts in fetch calls using JavaScript promises. By default the fetch() API does not have built-in support for timeouts. So we will build our custom solution…
Continue Reading “Timeouts in Fetch calls using Javascript Promises”
How to cancel a fetch request?
Ever wondered how to cancel a fetch request in your web application. There’s good news, we can finally abort HTTP calls made using fetch from our applications. In this article, I will cover how to…
Share like native mobile apps with Web Share
In this article we will check out how to share like native apps with the Web Share API. Web Share API has been around for some time and can add the great ability to your…
Continue Reading “Share like native mobile apps with Web Share”
Format HTML input fields with JavaScript
This a quick example of how you can format HTML input fields with JavaScript to allow Credit Card numbers or let’s say Phone numbers in a particular format. Most often or not you might have…
Useful GatsbyJS commands for beginners
GatsbyJS is a static website generator. It is built on top of React and you can create blazingly fast websites with Gatsby. And I really mean it. I have been using Gatsby for close to…
Run Lighthouse Performance Audits on every Pull Request
Performance is a very key aspect of modern day web applications. And especially if your application users are on mobile devices with slow connections. Running performance audits and checks every day is not easy and…
Continue Reading “Run Lighthouse Performance Audits on every Pull Request”
Run a Node Express.js server using Docker – Masterclass
Hello Guys, I hope you are doing well. So in today’s article series of Learn By Doing (#LBD), we will be creating a simple Node Express.js server and then run it using Docker. So this…
Continue Reading “Run a Node Express.js server using Docker – Masterclass”
Solving Babel issue in Ejected React Application
A few days ago I was working on a React web application. Once I finished my development, I had ejected the app to get more control of the underlying scripts and webpack bundling. But then…
Continue Reading “Solving Babel issue in Ejected React Application”
Free Webinar on JavaScript
Hello readers, I hope everyone is doing well. I have scheduled a free webinar this coming Saturday i.e 4th April, 2020 at 4pm IST. It will be a fun-filled 1-hour online session on the weird…