Photo by Priscilla Du Preez on Unsplash

The problem statement that made me dig deep into this topic and write this article is .

In one of my recent React project, I am taking utmost care to make sure that I let no stone unturned to achieve the best performance. …


How often do you encounter bugs in production which are impossible to reproduce locally? IDK about you, but it happens a lot to me.

Viewing the script and adding a breakpoint might help us at times but what if we need to change something in that script? …


Presence of <img /> tag is one of the main reason why some site loads slow. Here are some tricks which can be used to improve the performance of the website by handling the download of image efficiently.

1. Using and instead of just :

When we use…


NaN is something which we use less frequently in JavaScript but still it’s worth understanding the concept.

What is NaN?

NaN is a property that represents Not a Number value. We get NaN when we try to do a numeric operation on something which cannot be converted to a Number.


image from freepik

Does your app require a fixed address bar in mobile browsers? Read mode intended to solve problem, creates a lot of problem for some use case. The sudden disappearing and appearing of the address bar as you scroll through mobile browser is pain in the ASS at times.

My use…


Do you have multiple HLS videos to be played one after the other? And do you want to cache the next video so that it starts playing immediately when u go to next?

Well, if your answer is “yes” to the above question, then this article is for you.

The…


I’ve been trying to integrate sqlite3 into my electron project which is built using electron-forge.

This is a brief and to the point article on how I solved this problem.

Here is my app’s tech stack:

  1. Electron.
  2. React.
  3. Electron-forge.
  4. Webpack (electron-forge).
  5. TypeScript.

NOTE: After the first few attempt and some…


I won’t be talking about what is deno here, rather I will explain the code to create a simple local server. To learn more about deno follow their official page.

Code link

Github repo on deno-project

Installing deno

For windows run the following command from your PowerShell ISE

iwr https://deno.land/x/install/install.ps1 -useb | iex


As you might have heard about DENO a lot these days. It claims to be a JS runtime just like NODE. But what is a JS runtime?

Photo by Alex wong on Unsplash

To understand this, let’s first dive into other related concepts.

I have heard of JS Engine, but what is it?

Just like all other programming languages, even JS requires a compiler to execute…


Every browser limits the number of concurrent connections to a single domain as well as it has a limit for overall concurrent connections.

The above image is taken from StackOverflow. It shows the number of parallel connections various browser supports.

But why does the browser limit the number of calls at all?

To understand this lets first understand what happens when a…

Ishwar Rimal — @theHumbleBeing

I write articles on JavaScript, electron, and react. Opted for curators for better reach, not money. Open link in incognito to read for free (or contact me)

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